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`
This commit is contained in:
Matthias Krüger 2024-10-05 19:07:54 +02:00 committed by GitHub
commit 2e80beb36c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -470,7 +470,6 @@ fn hash_iter_files<P: AsRef<Path>>(
}) })
} }
#[allow(rustc::potential_query_instability)]
let extra_tracked_files = hash_iter_files( let extra_tracked_files = hash_iter_files(
file_depinfo.iter().map(|path_sym| normalize_path(PathBuf::from(path_sym.as_str()))), file_depinfo.iter().map(|path_sym| normalize_path(PathBuf::from(path_sym.as_str()))),
checksum_hash_algo, checksum_hash_algo,