Use UnordSet instead of FxHashSet for names_imported_by_glob_use query.
This commit is contained in:
parent
ee8bc5b0b2
commit
422208ae52
6 changed files with 42 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue