Skip to content

Commit d91d164

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 6351247 commit d91d164

File tree

1 file changed

+7
-5
lines changed
  • compiler/rustc_errors/src

1 file changed

+7
-5
lines changed

compiler/rustc_errors/src/lib.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
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)]
1113
#![feature(box_patterns)]
14+
#![feature(error_reporter)]
1215
#![feature(extract_if)]
1316
#![feature(let_chains)]
1417
#![feature(negative_impls)]
1518
#![feature(never_type)]
1619
#![feature(rustc_attrs)]
17-
#![feature(yeet_expr)]
20+
#![feature(rustdoc_internals)]
1821
#![feature(try_blocks)]
19-
#![feature(error_reporter)]
20-
#![allow(incomplete_features)]
21-
#![allow(internal_features)]
22+
#![feature(yeet_expr)]
23+
// tidy-alphabetical-end
2224

2325
#[macro_use]
2426
extern crate rustc_macros;

0 commit comments

Comments
 (0)