Use UnordSet instead of FxHashSet for names_imported_by_glob_use query.

This commit is contained in:
Michael Woerister 2023-02-21 15:18:10 +01:00
parent ee8bc5b0b2
commit 422208ae52
6 changed files with 42 additions and 12 deletions

View file

@ -1826,7 +1826,7 @@ rustc_queries! {
query maybe_unused_trait_imports(_: ()) -> &'tcx FxIndexSet<LocalDefId> {
desc { "fetching potentially unused trait imports" }
}
query names_imported_by_glob_use(def_id: LocalDefId) -> &'tcx FxHashSet<Symbol> {
query names_imported_by_glob_use(def_id: LocalDefId) -> &'tcx UnordSet<Symbol> {
desc { |tcx| "finding names imported by glob use for `{}`", tcx.def_path_str(def_id.to_def_id()) }
}