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 8526ace commit e4b5621Copy full SHA for e4b5621
src/config/file_lines.rs
@@ -28,7 +28,7 @@ pub enum FileName {
28
impl From<rustc_span::FileName> for FileName {
29
fn from(name: rustc_span::FileName) -> FileName {
30
match name {
31
- rustc_span::FileName::Real(p) => FileName::Real(p.into_local_path()),
+ rustc_span::FileName::Real(rustc_span::RealFileName::LocalPath(p)) => FileName::Real(p),
32
rustc_span::FileName::Custom(ref f) if f == "stdin" => FileName::Stdin,
33
_ => unreachable!(),
34
}
0 commit comments