Reduce exposure of some things.

This commit is contained in:
Nicholas Nethercote
2023-11-26 06:46:10 +11:00
parent 3570468ce7
commit dbaa78621a
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ use rustc_middle::ty::TyCtxt;
use rustc_span::{Span, DUMMY_SP};
/// A visitor that walks over the HIR and collects `Node`s into a HIR map.
pub(super) struct NodeCollector<'a, 'hir> {
struct NodeCollector<'a, 'hir> {
tcx: TyCtxt<'hir>,
bodies: &'a SortedMap<ItemLocalId, &'hir Body<'hir>>,