resolve: Replace visibility table in resolver outputs with query feeding
Also feed missing visibilities for import stems and trait impl items, which were previously evaluated lazily.
This commit is contained in:
@@ -152,7 +152,7 @@ pub struct ResolverOutputs {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct ResolverGlobalCtxt {
|
||||
pub visibilities: FxHashMap<LocalDefId, Visibility>,
|
||||
pub visibilities_for_hashing: Vec<(LocalDefId, Visibility)>,
|
||||
/// Item with a given `LocalDefId` was defined during macro expansion with ID `ExpnId`.
|
||||
pub expn_that_defined: FxHashMap<LocalDefId, ExpnId>,
|
||||
pub effective_visibilities: EffectiveVisibilities,
|
||||
|
||||
Reference in New Issue
Block a user