rustc_lint: Enforce rustc::potential_query_instability lint

Stop allowing `rustc::potential_query_instability` on all of
`rustc_lint` and instead allow it on a case-by-case basis if it is safe
to do so. In this particular crate, all lints were safe to allow.
This commit is contained in:
Martin Nordholts
2023-12-23 14:30:54 +01:00
parent 231dbbcb6a
commit 295d6003ac
4 changed files with 13 additions and 1 deletions

View File

@@ -25,7 +25,6 @@
//!
//! This API is completely unstable and subject to change.
#![allow(rustc::potential_query_instability)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![doc(rust_logo)]
#![feature(rustdoc_internals)]