about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-08-05 03:51:39 +0200
committerGitHub <noreply@github.com>2025-08-05 03:51:39 +0200
commit7ad5281f3b0a8d32a5121af6b944d100f919e934 (patch)
tree2e46ad6404db816eb1abb568baa8faf24526d8c6 /compiler/rustc_interface/src
parent1724af9f1e91cc5dc337645544550ec7df5a5fd5 (diff)
parentb37c214ec2bbb7609eb4b963bb2b0da160fef57f (diff)
downloadrust-7ad5281f3b0a8d32a5121af6b944d100f919e934.tar.gz
rust-7ad5281f3b0a8d32a5121af6b944d100f919e934.zip
Rollup merge of #144877 - Zalathar:coverage-various, r=lcnr
coverage: Various small cleanups

This PR is a collection of small coverage-related changes that I accumulated while working towards other coverage improvements.

Each change should hopefully be fairly straightforward.
Diffstat (limited to 'compiler/rustc_interface/src')
-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 8771bb44050..86faab62d03 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -778,8 +778,8 @@ fn test_unstable_options_tracking_hash() {
         coverage_options,
         CoverageOptions {
             level: CoverageLevel::Mcdc,
-            no_mir_spans: true,
-            discard_all_spans_in_codegen: true
+            // (don't collapse test-only options onto the same line)
+            discard_all_spans_in_codegen: true,
         }
     );
     tracked!(crate_attr, vec!["abc".to_string()]);