Reuse variable

This commit is contained in:
Andy Wang 2021-05-16 12:38:49 +01:00
parent 1ced98ac65
commit f3c18bb50d
No known key found for this signature in database
GPG key ID: 181B49F9F38F3374

View file

@ -509,9 +509,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
virtual_name: joined,
}
} else {
RealFileName::LocalPath(
Path::new(absolute).join(path_to_file),
)
RealFileName::LocalPath(joined)
}
}
RealFileName::Remapped { local_path: _, virtual_name } => {