about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-19 06:26:33 +0000
committerbors <bors@rust-lang.org>2024-06-19 06:26:33 +0000
commitac4f1c41292c5b5e72e42ebdff38cb04cf9f304d (patch)
tree6ad18502b12564bac17108d771d900947abbefcb /compiler/rustc_interface/src/tests.rs
parent62ef90cf46ebe1c52b9757171a3067dcde629823 (diff)
parent3e93254d5e2efb3d2dd738833142de9274c7b191 (diff)
downloadrust-ac4f1c41292c5b5e72e42ebdff38cb04cf9f304d.tar.gz
rust-ac4f1c41292c5b5e72e42ebdff38cb04cf9f304d.zip
Auto merge of #3685 - rust-lang:rustup-2024-06-19, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 6538995926a..2909f8adfb0 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -70,7 +70,7 @@ where
             Arc::default(),
             Default::default(),
         );
-        let cfg = parse_cfg(&sess.dcx(), matches.opt_strs("cfg"));
+        let cfg = parse_cfg(sess.dcx(), matches.opt_strs("cfg"));
         let cfg = build_configuration(&sess, cfg);
         f(sess, cfg)
     });
@@ -761,7 +761,7 @@ fn test_unstable_options_tracking_hash() {
         })
     );
     tracked!(codegen_backend, Some("abc".to_string()));
-    tracked!(coverage_options, CoverageOptions { level: CoverageLevel::Mcdc });
+    tracked!(coverage_options, CoverageOptions { level: CoverageLevel::Mcdc, no_mir_spans: true });
     tracked!(crate_attr, vec!["abc".to_string()]);
     tracked!(cross_crate_inline_threshold, InliningThreshold::Always);
     tracked!(debug_info_for_profiling, true);