File tree Expand file tree Collapse file tree
rustc_incremental/src/persist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const BASE_FN: &[&str] = &[
5454
5555/// DepNodes for Hir, which is pretty much everything
5656const BASE_HIR : & [ & str ] = & [
57- // owner should be computed for all nodes
57+ // hir_owner should be computed for all nodes
5858 label_strs:: hir_owner,
5959] ;
6060
Original file line number Diff line number Diff line change @@ -879,7 +879,7 @@ pub static DEFAULT_QUERY_PROVIDERS: LazyLock<Providers> = LazyLock::new(|| {
879879 providers. queries . analysis = analysis;
880880 providers. queries . hir_crate = rustc_ast_lowering:: lower_to_hir;
881881 providers. queries . lower_delayed_owner = rustc_ast_lowering:: lower_delayed_owner;
882- // `delayed_owner ` is fed during `lower_delayed_owner`, by default it returns phantom,
882+ // `hir_delayed_owner ` is fed during `lower_delayed_owner`, by default it returns phantom,
883883 // as if this query was not fed it means that `MaybeOwner` does not exist for provided LocalDefId.
884884 providers. queries . hir_delayed_owner = |_, _| MaybeOwner :: Phantom ;
885885 providers. queries . resolver_for_lowering_raw = resolver_for_lowering_raw;
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ impl<'tcx> TyCtxt<'tcx> {
112112 }
113113 }
114114
115- /// This function is used only inside eval-always query analysis
115+ /// This function is used only inside eval-always query ` analysis`
116116 /// (`analysis -> run_required_analysis` -> `emit_delayed_lints`), so it is safe
117117 /// to obtain delayed lints from non-eval-always `owner` query.
118118 #[ inline]
Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ pub struct Hashes {
452452 pub attrs_hash : Option < Fingerprint > ,
453453}
454454
455- /// Unites some of `OwnerInfo`'s fields into same struct that is used by owner `query` .
455+ /// Unites some of `OwnerInfo`'s fields into same struct that is used by `hir_owner` query .
456456/// `AttributeMap` is handled separately as placing it in this struct led to perf regressions:
457457/// <https://github.com/rust-lang/rust/pull/155678#issuecomment-4304597871>.
458458/// This struct is created mainly for uniting/splitting fields of `OwnerInfo` so they are
You can’t perform that action at this time.
0 commit comments