Skip to content

Commit 6e19ace

Browse files
authored
Switch coverage remap scope path to MACRO
1 parent f7fc81e commit 6e19ace

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir_transform/src/coverage

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/coverage/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn create_mappings<'tcx>(
129129
let file_name = Symbol::intern(
130130
&source_file
131131
.name
132-
.for_scope(tcx.sess, RemapPathScopeComponents::DEBUGINFO)
132+
.for_scope(tcx.sess, RemapPathScopeComponents::MACRO)
133133
.to_string_lossy(),
134134
);
135135

0 commit comments

Comments
 (0)