Skip to content

Commit 4b81878

Browse files
committed
Sort attributes in compiler/rustc_errors/src/lib.rs.
As is already done in `rustc_span` and `rustc_data_structures`.
1 parent ef71f10 commit 4b81878

File tree

1 file changed

+8
-6
lines changed
  • compiler/rustc_errors/src

1 file changed

+8
-6
lines changed

compiler/rustc_errors/src/lib.rs

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@
22
//!
33
//! This module contains the code for creating and emitting diagnostics.
44
5+
// tidy-alphabetical-start
6+
#![allow(incomplete_features)]
7+
#![allow(internal_features)]
58
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
69
#![doc(rust_logo)]
7-
#![feature(rustdoc_internals)]
810
#![feature(array_windows)]
911
#![feature(associated_type_defaults)]
1012
#![feature(box_into_inner)]
13+
#![feature(box_patterns)]
14+
#![feature(error_reporter)]
1115
#![feature(extract_if)]
1216
#![feature(if_let_guard)]
1317
#![feature(let_chains)]
1418
#![feature(negative_impls)]
1519
#![feature(never_type)]
1620
#![feature(rustc_attrs)]
17-
#![feature(yeet_expr)]
21+
#![feature(rustdoc_internals)]
1822
#![feature(try_blocks)]
19-
#![feature(box_patterns)]
20-
#![feature(error_reporter)]
21-
#![allow(incomplete_features)]
22-
#![allow(internal_features)]
23+
#![feature(yeet_expr)]
24+
// tidy-alphabetical-end
2325

2426
#[macro_use]
2527
extern crate rustc_macros;

0 commit comments

Comments
 (0)