Allow newly added non_local_definitions in rustfmt

This commit is contained in:
Urgau 2024-01-27 17:39:16 +01:00
parent 1b733558bf
commit 7b6057dea4

View file

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