Comment tweaks
This commit is contained in:
parent
623dcb02db
commit
dc4fd3d724
@ -43,7 +43,7 @@ rustc_queries! {
|
||||
}
|
||||
|
||||
Other {
|
||||
// Represents crate as a whole (as distinct from the to-level crate module).
|
||||
// Represents crate as a whole (as distinct from the top-level crate module).
|
||||
// If you call `hir_crate` (e.g., indirectly by calling `tcx.hir().krate()`),
|
||||
// we will have to assume that any change means that you need to be recompiled.
|
||||
// This is because the `hir_crate` query gives you access to all other items.
|
||||
|
@ -966,6 +966,7 @@ pub struct GlobalCtxt<'tcx> {
|
||||
/// Export map produced by name resolution.
|
||||
export_map: FxHashMap<DefId, Vec<Export<hir::HirId>>>,
|
||||
|
||||
/// This should usually be accessed with the `tcx.hir()` method.
|
||||
pub(crate) hir_map: hir_map::Map<'tcx>,
|
||||
|
||||
/// A map from `DefPathHash` -> `DefId`. Includes `DefId`s from the local crate
|
||||
|
Loading…
x
Reference in New Issue
Block a user