Remove crate visibility usage in compiler

This commit is contained in:
Jacob Pratt
2022-05-20 19:51:09 -04:00
parent 536020c5f9
commit 49c82f31a8
186 changed files with 865 additions and 800 deletions

View File

@@ -22,7 +22,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
/// been assigned to - this set is used as a proxy for locals that were not initialized due to
/// unreachable code. These locals are then considered "used" to silence the lint for them.
/// See #55344 for context.
crate fn gather_used_muts(
pub(crate) fn gather_used_muts(
&mut self,
temporary_used_locals: FxHashSet<Local>,
mut never_initialized_mut_locals: FxHashSet<Local>,