rustc_session: Address all rustc::potential_query_instability lints

Instead of allowing `rustc::potential_query_instability` on the whole
crate we go over each lint and allow it individually if it is safe to
do. Turns out all instances were safe to allow in this crate.
This commit is contained in:
Martin Nordholts 2023-12-03 14:37:01 +01:00
parent 8b6a4a93ed
commit d87460a507
3 changed files with 7 additions and 1 deletions

View file

@ -6,7 +6,6 @@
#![feature(map_many_mut)]
#![feature(iter_intersperse)]
#![recursion_limit = "256"]
#![allow(rustc::potential_query_instability)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#![allow(internal_features)]