Fix cross-crate resolution of half-items created by export shadowing
This commit is contained in:
parent
da7b1c984c
commit
d19c16acfb
15 changed files with 558 additions and 46 deletions
|
@ -66,7 +66,7 @@ impl<'a, 'b, 'tcx> LibEmbargoVisitor<'a, 'b, 'tcx> {
|
|||
|
||||
pub fn visit_mod(&mut self, def_id: DefId) {
|
||||
for item in self.cstore.item_children(def_id) {
|
||||
self.visit_item(item.def_id);
|
||||
self.visit_item(item.def.def_id());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue