1
Fork 0

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

@ -371,7 +371,7 @@ impl<'tcx> Visitor<'tcx> for MarkSymbolVisitor<'tcx> {
}
if tcx.visibility(def_id).is_public() { Some(def_id) } else { None }
});
Extend::extend(&mut self.live_symbols, live_fields);
self.live_symbols.extend(live_fields);
intravisit::walk_struct_def(self, def);
}