Skip to content

Commit

Permalink
Switch coverage remap scope path to MACRO
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Mar 19, 2024
1 parent f7fc81e commit 6e19ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/src/coverage/mod.rs
Expand Up @@ -129,7 +129,7 @@ fn create_mappings<'tcx>(
let file_name = Symbol::intern(
&source_file
.name
.for_scope(tcx.sess, RemapPathScopeComponents::DEBUGINFO)
.for_scope(tcx.sess, RemapPathScopeComponents::MACRO)
.to_string_lossy(),
);

Expand Down

0 comments on commit 6e19ace

Please sign in to comment.