Skip to content

Commit 44bc150

Browse files
committed
Mark crate_inherent_impls as eval_always.
This is global query, so it will probably be invalidated anyway. This was creating a compound dependency from any typeck to any hir_owner: typeck -> incoherent_impls -> crate_incoherent_impls -> crate_inherent_impls -> hir_owner. This dependency was (incorrectly?) flagged by the ui/dep-graph tests as problematic.
1 parent f8ee1e0 commit 44bc150

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/query/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ rustc_queries! {
869869
/// Not meant to be used directly outside of coherence.
870870
query crate_inherent_impls(k: ()) -> CrateInherentImpls {
871871
storage(ArenaCacheSelector<'tcx>)
872+
eval_always
872873
desc { "all inherent impls defined in crate" }
873874
}
874875

0 commit comments

Comments
 (0)