about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2018-02-18 15:05:24 -0800
committerJeremy Fitzhardinge <jsgf@fb.com>2018-02-22 15:13:21 -0800
commit56a68285332000c858e9aeba7d66a4ec66ebff91 (patch)
tree2eefbd5dddbb4458f91f1ca2eddb9eccb6850928 /src/libsyntax/codemap.rs
parentb1f8e6fb06d7362eeb2065347a7db94e76b1cb2f (diff)
downloadrust-56a68285332000c858e9aeba7d66a4ec66ebff91.tar.gz
rust-56a68285332000c858e9aeba7d66a4ec66ebff91.zip
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.
Diffstat (limited to 'src/libsyntax/codemap.rs')
-rw-r--r--src/libsyntax/codemap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index df5845f6c21..926548b6031 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -129,7 +129,7 @@ pub struct CodeMap {
     pub(super) files: RefCell<Vec<Rc<FileMap>>>,
     file_loader: Box<FileLoader>,
     // This is used to apply the file path remapping as specified via
-    // -Zremap-path-prefix to all FileMaps allocated within this CodeMap.
+    // --remap-path-prefix to all FileMaps allocated within this CodeMap.
     path_mapping: FilePathMapping,
     stable_id_to_filemap: RefCell<FxHashMap<StableFilemapId, Rc<FileMap>>>,
     /// In case we are in a doctest, replace all file names with the PathBuf,