ResolverTree does not require access to the crate loader, only the store
This commit is contained in:
parent
14ca83a04b
commit
4b08fbaea8
2 changed files with 6 additions and 6 deletions
|
@ -107,7 +107,7 @@ impl<'r, 'a> EffectiveVisibilitiesVisitor<'r, 'a> {
|
|||
r.effective_visibilities.update_eff_vis(
|
||||
r.local_def_id(node_id),
|
||||
eff_vis,
|
||||
ResolverTree(&r.definitions, &r.crate_loader),
|
||||
ResolverTree(&r.definitions, r.crate_loader.cstore()),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue