diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-02-06 17:14:38 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-02-06 17:14:38 +0100 |
| commit | a575495accfe46384df0332be6d9c0a3fb151cbe (patch) | |
| tree | ffbc3bfe6000ec268596aeceb65c069c568bd76d | |
| parent | dc4fd3d7240e50e6c4c42952c51db021c88a3575 (diff) | |
| download | rust-a575495accfe46384df0332be6d9c0a3fb151cbe.tar.gz rust-a575495accfe46384df0332be6d9c0a3fb151cbe.zip | |
Make `krate` private
| -rw-r--r-- | src/librustc/hir/map/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/hir/map/mod.rs b/src/librustc/hir/map/mod.rs index 7e0e85ea586..1645420892a 100644 --- a/src/librustc/hir/map/mod.rs +++ b/src/librustc/hir/map/mod.rs @@ -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, |
