Skip to content

Commit

Permalink
Auto merge of rust-lang#115214 - Urgau:rfc-3127-trim-paths, r=compile…
Browse files Browse the repository at this point in the history
…r-errors

Implement rustc part of RFC 3127 trim-paths

This PR implements (or at least tries to) [RFC 3127 trim-paths](rust-lang#111540), the rustc part. That is `-Zremap-path-scope` with all of it's components/scopes.

`@rustbot` label: +F-trim-paths
  • Loading branch information
bors committed Oct 19, 2023
2 parents a07c032 + 09535a5 commit 214b4d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ impl SerializableSpan {
let loc: Loc = cx.sess().source_map().lookup_char_pos(span.lo());

Self {
path: format!("{}", loc.file.name.prefer_remapped()),
path: format!("{}", loc.file.name.prefer_remapped_unconditionaly()),
line: loc.line,
}
}
Expand Down

0 comments on commit 214b4d9

Please sign in to comment.