1
Fork 0

rustc_expand: clean up attributes.

Sort them, and remove the unused ones (`lint_reasons` and
`proc_macro_span`).
This commit is contained in:
Nicholas Nethercote 2024-04-29 08:38:05 +10:00
parent 79734f1db8
commit aabb90d254

View file

@ -1,19 +1,19 @@
// tidy-alphabetical-start
#![allow(internal_features)]
#![allow(rustc::diagnostic_outside_of_impl)]
#![doc(rust_logo)] #![doc(rust_logo)]
#![feature(rustdoc_internals)]
#![feature(array_windows)] #![feature(array_windows)]
#![feature(associated_type_defaults)] #![feature(associated_type_defaults)]
#![feature(if_let_guard)] #![feature(if_let_guard)]
#![feature(let_chains)] #![feature(let_chains)]
#![feature(lint_reasons)]
#![feature(macro_metavar_expr)] #![feature(macro_metavar_expr)]
#![feature(map_try_insert)] #![feature(map_try_insert)]
#![feature(proc_macro_diagnostic)] #![feature(proc_macro_diagnostic)]
#![feature(proc_macro_internals)] #![feature(proc_macro_internals)]
#![feature(proc_macro_span)] #![feature(rustdoc_internals)]
#![feature(try_blocks)] #![feature(try_blocks)]
#![feature(yeet_expr)] #![feature(yeet_expr)]
#![allow(rustc::diagnostic_outside_of_impl)] // tidy-alphabetical-end
#![allow(internal_features)]
extern crate proc_macro as pm; extern crate proc_macro as pm;