1
Fork 0

Generate crate loaders on the fly

This commit is contained in:
Oli Scherer 2022-12-07 13:37:47 +00:00
parent 4b08fbaea8
commit 2cd36f2c89
7 changed files with 67 additions and 54 deletions

View file

@ -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.cstore()),
ResolverTree(&r.definitions, &r.cstore),
)
}
}