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:
committed by
Jeremy Fitzhardinge
parent
b1f8e6fb06
commit
56a6828533
@@ -316,7 +316,7 @@ impl SourceFile {
|
||||
/// If the code span associated with this `SourceFile` was generated by an external macro, this
|
||||
/// may not be an actual path on the filesystem. Use [`is_real`] to check.
|
||||
///
|
||||
/// Also note that even if `is_real` returns `true`, if `-Z remap-path-prefix-*` was passed on
|
||||
/// Also note that even if `is_real` returns `true`, if `--remap-path-prefix` was passed on
|
||||
/// the command line, the path as given may not actually be valid.
|
||||
///
|
||||
/// [`is_real`]: #method.is_real
|
||||
|
||||
Reference in New Issue
Block a user