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.
.into()
FileName::Real
1 parent 9860bfc commit d68420bCopy full SHA for d68420b
src/librustc_span/lib.rs
@@ -124,7 +124,7 @@ impl From<PathBuf> for FileName {
124
fn from(p: PathBuf) -> Self {
125
assert!(!p.to_string_lossy().ends_with('>'));
126
if cfg!(not(windows)) {
127
- FileName::Real(p.canonlicalize().unwrap_or(p))
+ FileName::Real(p.canonicalize().unwrap_or(p))
128
} else {
129
FileName::Real(p)
130
}
0 commit comments