Skip to content

Commit

Permalink
Rollup merge of rust-lang#131280 - ismailarilik:handle-potential-quer…
Browse files Browse the repository at this point in the history
…y-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: rust-lang#84447

r? `@compiler-errors`
  • Loading branch information
matthiaskrgr authored Oct 5, 2024
2 parents 8e31e98 + 2feed62 commit 2e80beb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_interface/src/passes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2e80beb

Please sign in to comment.