Allow newly added non_local_definitions in rustfmt

This commit is contained in:
Urgau 2024-01-27 17:39:16 +01:00
parent 6674be9657
commit 263910118c

View File

@ -66,6 +66,7 @@ fn ensure_real_path(filename: &FileName) -> &Path {
}
}
#[cfg_attr(not(bootstrap), allow(non_local_definitions))]
impl From<&FileName> for rustc_span::FileName {
fn from(filename: &FileName) -> rustc_span::FileName {
match filename {