Skip to content

Commit 41aea27

Browse files
committed
Remove unnecessary allow attribute.
The `#[allow(rustdoc:private_intra_doc_links)]` isn't necessary. Also sort them, as is done in other files like `compiler/rustc_errors/src/lib.rs`.
1 parent 87293c9 commit 41aea27

File tree

1 file changed

+7
-6
lines changed
  • compiler/rustc_resolve/src

1 file changed

+7
-6
lines changed

compiler/rustc_resolve/src/lib.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,22 @@
66
//!
77
//! Type-relative name resolution (methods, fields, associated items) happens in `rustc_hir_analysis`.
88
9+
// tidy-alphabetical-start
10+
#![allow(internal_features)]
11+
#![allow(rustc::diagnostic_outside_of_impl)]
12+
#![allow(rustc::potential_query_instability)]
13+
#![allow(rustc::untranslatable_diagnostic)]
914
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1015
#![doc(rust_logo)]
11-
#![feature(rustdoc_internals)]
1216
#![feature(assert_matches)]
1317
#![feature(box_patterns)]
1418
#![feature(extract_if)]
1519
#![feature(if_let_guard)]
1620
#![feature(iter_intersperse)]
1721
#![feature(let_chains)]
1822
#![feature(rustc_attrs)]
19-
#![allow(rustdoc::private_intra_doc_links)]
20-
#![allow(rustc::diagnostic_outside_of_impl)]
21-
#![allow(rustc::potential_query_instability)]
22-
#![allow(rustc::untranslatable_diagnostic)]
23-
#![allow(internal_features)]
23+
#![feature(rustdoc_internals)]
24+
// tidy-alphabetical-end
2425

2526
#[macro_use]
2627
extern crate tracing;

0 commit comments

Comments
 (0)