summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-08-01 13:05:17 -0400
committerMichael Goulet <michael@errs.io>2024-08-26 18:44:19 -0400
commit4609841c078cde37c0e2ffb481059cb1bd330233 (patch)
treea0dd66a30e8cb09c5a1a75d08a0e7e870ddc1aab /compiler/rustc_hir_analysis/src/lib.rs
parent515395af0efdbdd657ff08a1f6d28e553856654f (diff)
downloadrust-4609841c078cde37c0e2ffb481059cb1bd330233.tar.gz
rust-4609841c078cde37c0e2ffb481059cb1bd330233.zip
Stop using a special inner body for the coroutine by-move body for async closures
Diffstat (limited to 'compiler/rustc_hir_analysis/src/lib.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_hir_analysis/src/lib.rs b/compiler/rustc_hir_analysis/src/lib.rs
index 291d57f2a17..6dbaf4fcffa 100644
--- a/compiler/rustc_hir_analysis/src/lib.rs
+++ b/compiler/rustc_hir_analysis/src/lib.rs
@@ -200,10 +200,6 @@ pub fn check_crate(tcx: TyCtxt<'_>) {
         }
     });
 
-    // Freeze definitions as we don't add new ones at this point. This improves performance by
-    // allowing lock-free access to them.
-    tcx.untracked().definitions.freeze();
-
     // FIXME: Remove this when we implement creating `DefId`s
     // for anon constants during their parents' typeck.
     // Typeck all body owners in parallel will produce queries