We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
effective_visibilities
1 parent 1ecb315 commit 92715b5Copy full SHA for 92715b5
compiler/rustc_interface/src/passes.rs
@@ -800,7 +800,8 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
800
sess.time("misc_checking_2", || {
801
parallel!(
802
{
803
- tcx.ensure().effective_visibilities(());
+ // Prefetch this as it is used later by lint checking and privacy checking.
804
+ tcx.ensure_with_value().effective_visibilities(());
805
},
806
807
sess.time("MIR_borrow_checking", || {
0 commit comments