diff options
| author | bors <bors@rust-lang.org> | 2023-07-14 09:55:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-14 09:55:40 +0000 |
| commit | df5c2cf9bc60fa935aef31a217d9fa0a328d7fe2 (patch) | |
| tree | a5a503f597940fca4d3744f66e88077000106404 /compiler/rustc_hir_analysis/src | |
| parent | 320b412f9c55bf480d26276ff0ab480e4ecb29c0 (diff) | |
| parent | 457b787a524e87a11d715ec26a24e68c8cf272d9 (diff) | |
| download | rust-df5c2cf9bc60fa935aef31a217d9fa0a328d7fe2.tar.gz rust-df5c2cf9bc60fa935aef31a217d9fa0a328d7fe2.zip | |
Auto merge of #113328 - michaelwoerister:no_hashmap_in_typeck, r=cjgillot,lcnr
Enable potential_query_instability lint in rustc_hir_typeck. Fix linting errors by using `FxIndex(Map|Set)` and `Unord(Map|Set)` as appropriate. Part of [MCP 533](https://github.com/rust-lang/compiler-team/issues/533). I really like the `potential_query_instability` lint! r? `@lcnr`
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check_unused.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check_unused.rs b/compiler/rustc_hir_analysis/src/check_unused.rs index 3471d5f1e77..5318e637fc7 100644 --- a/compiler/rustc_hir_analysis/src/check_unused.rs +++ b/compiler/rustc_hir_analysis/src/check_unused.rs @@ -1,4 +1,4 @@ -use rustc_data_structures::unord::UnordSet; +use rustc_data_structures::unord::{ExtendUnord, UnordSet}; use rustc_hir::def::DefKind; use rustc_hir::def_id::LocalDefId; use rustc_middle::ty::TyCtxt; |
