increase the accuracy of effective visibilities calculation
This commit is contained in:
parent
3572d7451d
commit
5e917a6039
4 changed files with 69 additions and 26 deletions
|
@ -81,7 +81,7 @@ impl<'r, 'a, 'tcx> EffectiveVisibilitiesVisitor<'r, 'a, 'tcx> {
|
|||
def_effective_visibilities: Default::default(),
|
||||
import_effective_visibilities: Default::default(),
|
||||
current_private_vis: Visibility::Restricted(CRATE_DEF_ID),
|
||||
changed: false,
|
||||
changed: true,
|
||||
};
|
||||
|
||||
visitor.def_effective_visibilities.update_root();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue