diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-28 12:56:04 +0000 | 
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-23 13:34:09 +0000 | 
| commit | 286502c9ed77e49aea5bb89cf18c5eda3a8fce92 (patch) | |
| tree | 08a01a16ddcbb97325f70ff0677debf33c332065 /compiler/rustc_interface/src/passes.rs | |
| parent | a626caaad97b7f8733b8c9bd1fe9662cfc1e3ec1 (diff) | |
| download | rust-286502c9ed77e49aea5bb89cf18c5eda3a8fce92.tar.gz rust-286502c9ed77e49aea5bb89cf18c5eda3a8fce92.zip | |
Enable drop_tracking_mir by default.
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 14 | 
1 files changed, 6 insertions, 8 deletions
| diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index ce097922aef..0e8f93cef17 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -798,14 +798,12 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> { } }); - if tcx.sess.opts.unstable_opts.drop_tracking_mir { - tcx.hir().par_body_owners(|def_id| { - if let rustc_hir::def::DefKind::Generator = tcx.def_kind(def_id) { - tcx.ensure().mir_generator_witnesses(def_id); - tcx.ensure().check_generator_obligations(def_id); - } - }); - } + tcx.hir().par_body_owners(|def_id| { + if let rustc_hir::def::DefKind::Generator = tcx.def_kind(def_id) { + tcx.ensure().mir_generator_witnesses(def_id); + tcx.ensure().check_generator_obligations(def_id); + } + }); sess.time("layout_testing", || layout_test::test_layout(tcx)); sess.time("abi_testing", || abi_test::test_abi(tcx)); | 
