about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-03-30 18:52:25 +0000
committerMichael Goulet <michael@errs.io>2025-04-08 21:05:20 +0000
commit3ee62a906e8a025834d11c46b8c2f133d3a12448 (patch)
treea9e01ea5174f2f587d0bea780475113906a68b69 /compiler/rustc_interface/src/tests.rs
parentd4f880f8ce832cd7560bb2f1ebc34f967055ffd7 (diff)
downloadrust-3ee62a906e8a025834d11c46b8c2f133d3a12448.tar.gz
rust-3ee62a906e8a025834d11c46b8c2f133d3a12448.zip
Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ub
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index a8e55663257..af30a2d8aa8 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -817,8 +817,8 @@ fn test_unstable_options_tracking_hash() {
     tracked!(min_function_alignment, Some(Align::EIGHT));
     tracked!(mir_emit_retag, true);
     tracked!(mir_enable_passes, vec![("DestProp".to_string(), false)]);
-    tracked!(mir_keep_place_mention, true);
     tracked!(mir_opt_level, Some(4));
+    tracked!(mir_preserve_ub, true);
     tracked!(move_size_limit, Some(4096));
     tracked!(mutable_noalias, false);
     tracked!(next_solver, NextSolverConfig { coherence: true, globally: true });