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.
2 parents 54bd3a7 + 1471532 commit c091d09Copy full SHA for c091d09
src/tools/run-make-support/src/rustc.rs
@@ -108,7 +108,11 @@ impl Rustc {
108
}
109
110
/// Remap source path prefixes in all output.
111
- 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>>(
112
+ &mut self,
113
+ from: P,
114
+ to: P2,
115
+ ) -> &mut Self {
116
let from = from.as_ref().to_string_lossy();
117
let to = to.as_ref().to_string_lossy();
118
0 commit comments