1
Fork 0

Fix cross-crate resolution of half-items created by export shadowing

This commit is contained in:
Vadim Petrochenkov 2016-09-15 00:51:46 +03:00
parent da7b1c984c
commit d19c16acfb
15 changed files with 558 additions and 46 deletions

View file

@ -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());
}
}