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! {
43
43
}
44
44
45
45
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).
47
47
// If you call `hir_crate` (e.g., indirectly by calling `tcx.hir().krate()`),
48
48
// we will have to assume that any change means that you need to be recompiled.
49
49
// 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> {
966
966
/// Export map produced by name resolution.
967
967
export_map : FxHashMap < DefId , Vec < Export < hir:: HirId > > > ,
968
968
969
+ /// This should usually be accessed with the `tcx.hir()` method.
969
970
pub ( crate ) hir_map : hir_map:: Map < ' tcx > ,
970
971
971
972
/// A map from `DefPathHash` -> `DefId`. Includes `DefId`s from the local crate
You can’t perform that action at this time.
0 commit comments