Skip to content

Commit 2639101

Browse files
committed
Allow newly added non_local_definitions in rustfmt
1 parent 6674be9 commit 2639101

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/source_file.rs

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ where
6666
}
6767
}
6868

69+
#[cfg_attr(not(bootstrap), allow(non_local_definitions))]
6970
impl From<&FileName> for rustc_span::FileName {
7071
fn from(filename: &FileName) -> rustc_span::FileName {
7172
match filename {

0 commit comments

Comments
 (0)