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`.
This commit is contained in:
Nicholas Nethercote 2024-05-10 13:40:35 +10:00
parent 87293c9585
commit 41aea279e5

View File

@ -6,9 +6,13 @@
//!
//! Type-relative name resolution (methods, fields, associated items) happens in `rustc_hir_analysis`.
// tidy-alphabetical-start
#![allow(internal_features)]
#![allow(rustc::diagnostic_outside_of_impl)]
#![allow(rustc::potential_query_instability)]
#![allow(rustc::untranslatable_diagnostic)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![doc(rust_logo)]
#![feature(rustdoc_internals)]
#![feature(assert_matches)]
#![feature(box_patterns)]
#![feature(extract_if)]
@ -16,11 +20,8 @@
#![feature(iter_intersperse)]
#![feature(let_chains)]
#![feature(rustc_attrs)]
#![allow(rustdoc::private_intra_doc_links)]
#![allow(rustc::diagnostic_outside_of_impl)]
#![allow(rustc::potential_query_instability)]
#![allow(rustc::untranslatable_diagnostic)]
#![allow(internal_features)]
#![feature(rustdoc_internals)]
// tidy-alphabetical-end
#[macro_use]
extern crate tracing;