Skip to content

Commit aabb90d

Browse files
committed
rustc_expand: clean up attributes.
Sort them, and remove the unused ones (`lint_reasons` and `proc_macro_span`).
1 parent 79734f1 commit aabb90d

File tree

1 file changed

+5
-5
lines changed
  • compiler/rustc_expand/src

1 file changed

+5
-5
lines changed

compiler/rustc_expand/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1+
// tidy-alphabetical-start
2+
#![allow(internal_features)]
3+
#![allow(rustc::diagnostic_outside_of_impl)]
14
#![doc(rust_logo)]
2-
#![feature(rustdoc_internals)]
35
#![feature(array_windows)]
46
#![feature(associated_type_defaults)]
57
#![feature(if_let_guard)]
68
#![feature(let_chains)]
7-
#![feature(lint_reasons)]
89
#![feature(macro_metavar_expr)]
910
#![feature(map_try_insert)]
1011
#![feature(proc_macro_diagnostic)]
1112
#![feature(proc_macro_internals)]
12-
#![feature(proc_macro_span)]
13+
#![feature(rustdoc_internals)]
1314
#![feature(try_blocks)]
1415
#![feature(yeet_expr)]
15-
#![allow(rustc::diagnostic_outside_of_impl)]
16-
#![allow(internal_features)]
16+
// tidy-alphabetical-end
1717

1818
extern crate proc_macro as pm;
1919

0 commit comments

Comments
 (0)