Skip to content

Commit 8528576

Browse files
committed
fixes
1 parent bd09b85 commit 8528576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_middle/src/middle/privacy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl<Id: Eq + Hash> EffectiveVisibilities<Id> {
243243
&& level != l)
244244
{
245245
calculated_effective_vis = if let Some(max_vis) = max_vis
246-
&& inherited_effective_vis_at_level.greater_than(max_vis, tcx)
246+
&& inherited_effective_vis_at_level.greater_than_ext(max_vis, tcx, false)
247247
{
248248
max_vis
249249
} else {

0 commit comments

Comments
 (0)