File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ rustc_queries! {
4343 }
4444
4545 Other {
46- // Represents crate as a whole (as distinct from the to -level crate module).
46+ // Represents crate as a whole (as distinct from the top -level crate module).
4747 // If you call `hir_crate` (e.g., indirectly by calling `tcx.hir().krate()`),
4848 // we will have to assume that any change means that you need to be recompiled.
4949 // This is because the `hir_crate` query gives you access to all other items.
Original file line number Diff line number Diff line change @@ -966,6 +966,7 @@ pub struct GlobalCtxt<'tcx> {
966966 /// Export map produced by name resolution.
967967 export_map : FxHashMap < DefId , Vec < Export < hir:: HirId > > > ,
968968
969+ /// This should usually be accessed with the `tcx.hir()` method.
969970 pub ( crate ) hir_map : hir_map:: Map < ' tcx > ,
970971
971972 /// A map from `DefPathHash` -> `DefId`. Includes `DefId`s from the local crate
You can’t perform that action at this time.
0 commit comments