From 56a68285332000c858e9aeba7d66a4ec66ebff91 Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Sun, 18 Feb 2018 15:05:24 -0800 Subject: 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. --- src/libsyntax/codemap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') 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>>, file_loader: Box, // 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>>, /// In case we are in a doctest, replace all file names with the PathBuf, -- cgit 1.4.1-3-g733a5