Implement --remap-path-prefix
Remove experimental -Zremap-path-prefix-from/to, and replace it with the stabilized --remap-path-prefix=from=to variant. This is an implementation for issue of #41555.
This commit is contained in:
parent
b1f8e6fb06
commit
56a6828533
10 changed files with 38 additions and 70 deletions
|
@ -664,7 +664,7 @@ pub struct FileMap {
|
|||
/// originate from files has names between angle brackets by convention,
|
||||
/// e.g. `<anon>`
|
||||
pub name: FileName,
|
||||
/// True if the `name` field above has been modified by -Zremap-path-prefix
|
||||
/// True if the `name` field above has been modified by --remap-path-prefix
|
||||
pub name_was_remapped: bool,
|
||||
/// The unmapped path of the file that the source came from.
|
||||
/// Set to `None` if the FileMap was imported from an external crate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue