We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce71137 + 2639101 commit 8c33745Copy full SHA for 8c33745
src/source_file.rs
@@ -66,6 +66,7 @@ where
66
}
67
68
69
+ #[cfg_attr(not(bootstrap), allow(non_local_definitions))]
70
impl From<&FileName> for rustc_span::FileName {
71
fn from(filename: &FileName) -> rustc_span::FileName {
72
match filename {
0 commit comments