about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-05 19:07:54 +0200
committerGitHub <noreply@github.com>2024-10-05 19:07:54 +0200
commit2e80beb36cbce2cc05375af59d8e2cfedd8683d2 (patch)
tree96c9cab668f32aa5f4c6af4b75e5273db1d5b7ea
parent8e31e98ff97b0977ba9d760aea5214eb67fc10e4 (diff)
parent2feed6279655d6febce04a0efd167c2aea56facf (diff)
downloadrust-2e80beb36cbce2cc05375af59d8e2cfedd8683d2.tar.gz
rust-2e80beb36cbce2cc05375af59d8e2cfedd8683d2.zip
Rollup merge of #131280 - ismailarilik:handle-potential-query-instability-lint-for-rustc-interface, r=cjgillot
Handle `rustc_interface` cases of `rustc::potential_query_instability` lint

This PR removes `#![allow(rustc::potential_query_instability)]` occurrences from [`compiler/rustc_interface/`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_interface/) <s>and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors</s> (was not necessary for this PR).

A somewhat tracking issue: https://github.com/rust-lang/rust/issues/84447

r? `@compiler-errors`
-rw-r--r--compiler/rustc_interface/src/passes.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 204ae437a3e..fd850d2f39a 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -470,7 +470,6 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
             })
         }
 
-        #[allow(rustc::potential_query_instability)]
         let extra_tracked_files = hash_iter_files(
             file_depinfo.iter().map(|path_sym| normalize_path(PathBuf::from(path_sym.as_str()))),
             checksum_hash_algo,