about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-18 22:10:36 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-21 20:10:53 +0100
commit08c5ffd4a3e79aeb9a4cc79576d97760a9be25de (patch)
treea004a01e9a28a1b461b19d01cce4824328a1aff0 /compiler/rustc_interface/src
parentdfc4cafe8e7b5c5198ba3a9d9c57a2e1f09d03bd (diff)
downloadrust-08c5ffd4a3e79aeb9a4cc79576d97760a9be25de.tar.gz
rust-08c5ffd4a3e79aeb9a4cc79576d97760a9be25de.zip
Convert -Z mutable-noalias to Optional<bool>
The default value will dependend on the LLVM version in the future,
so don't specify one to start with.
Diffstat (limited to 'compiler/rustc_interface/src')
-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 93ba2e6a4f1..b3f0c66de68 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -566,7 +566,7 @@ fn test_debugging_options_tracking_hash() {
     tracked!(merge_functions, Some(MergeFunctions::Disabled));
     tracked!(mir_emit_retag, true);
     tracked!(mir_opt_level, Some(4));
-    tracked!(mutable_noalias, true);
+    tracked!(mutable_noalias, Some(true));
     tracked!(new_llvm_pass_manager, true);
     tracked!(no_codegen, true);
     tracked!(no_generate_arange_section, true);