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.
1 parent 07e12db commit c1a5991Copy full SHA for c1a5991
src/librustc_interface/passes.rs
@@ -547,7 +547,7 @@ fn write_out_deps(
547
.iter()
548
.filter(|fmap| fmap.is_real_file())
549
.filter(|fmap| !fmap.is_imported())
550
- .map(|fmap| escape_dep_filename(&fmap.unmapped_path.as_ref().unwrap_or(&fmap.name)))
+ .map(|fmap| escape_dep_filename(&fmap.name.unmapped_path()))
551
.collect();
552
553
if sess.binary_dep_depinfo() {
0 commit comments