Make krate private

This commit is contained in:
John Kåre Alsaker 2020-02-06 17:14:38 +01:00
parent dc4fd3d724
commit a575495acc

View file

@ -138,7 +138,7 @@ pub(super) type HirEntryMap<'hir> = IndexVec<DefIndex, IndexVec<ItemLocalId, Opt
/// Represents a mapping from `NodeId`s to AST elements and their parent `NodeId`s.
#[derive(Clone)]
pub struct Map<'hir> {
pub krate: &'hir Crate<'hir>,
krate: &'hir Crate<'hir>,
pub dep_graph: DepGraph,