We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rustc::remap_path_prefix
1 parent d68fe4e commit 1471532Copy full SHA for 1471532
src/tools/run-make-support/src/rustc.rs
@@ -107,7 +107,11 @@ impl Rustc {
107
}
108
109
/// Remap source path prefixes in all output.
110
- pub fn remap_path_prefix<P: AsRef<Path>>(&mut self, from: P, to: P) -> &mut Self {
+ pub fn remap_path_prefix<P: AsRef<Path>, P2: AsRef<Path>>(
111
+ &mut self,
112
+ from: P,
113
+ to: P2,
114
+ ) -> &mut Self {
115
let from = from.as_ref().to_string_lossy();
116
let to = to.as_ref().to_string_lossy();
117
0 commit comments