diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-24 16:46:57 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-21 14:55:37 +1000 |
| commit | eb10eb2b451343c053b5d4e856701a51cd7cde32 (patch) | |
| tree | 7aa2d4ecbe115fd5cfe60fc3469f846067e9badc | |
| parent | b92758a9aef1cef7b79e2b72c3d8ba113e547f89 (diff) | |
| download | rust-eb10eb2b451343c053b5d4e856701a51cd7cde32.tar.gz rust-eb10eb2b451343c053b5d4e856701a51cd7cde32.zip | |
Reorder top-level attributes.
And remove an unnecessary `feature(try_blocks)`.
| -rw-r--r-- | compiler/rustc_metadata/src/lib.rs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/compiler/rustc_metadata/src/lib.rs b/compiler/rustc_metadata/src/lib.rs index 99584845e49..00bb4c435c8 100644 --- a/compiler/rustc_metadata/src/lib.rs +++ b/compiler/rustc_metadata/src/lib.rs @@ -1,21 +1,22 @@ +// tidy-alphabetical-start +#![allow(internal_features)] +#![allow(rustc::potential_query_instability)] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] -#![feature(rustdoc_internals)] -#![allow(internal_features)] +#![feature(coroutines)] #![feature(decl_macro)] #![feature(error_iter)] #![feature(extract_if)] -#![feature(coroutines)] +#![feature(if_let_guard)] #![feature(iter_from_coroutine)] #![feature(let_chains)] -#![feature(if_let_guard)] -#![feature(proc_macro_internals)] #![feature(macro_metavar_expr)] #![feature(min_specialization)] -#![feature(trusted_len)] -#![feature(try_blocks)] #![feature(never_type)] -#![allow(rustc::potential_query_instability)] +#![feature(proc_macro_internals)] +#![feature(rustdoc_internals)] +#![feature(trusted_len)] +// tidy-alphabetical-end extern crate proc_macro; |
