Skip to content

Commit c4d7beb

Browse files
committed
Remove eval_always for inherent_impls.
1 parent c4ff03f commit c4d7beb

File tree

1 file changed

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

1 file changed

+1
-5
lines changed

compiler/rustc_middle/src/query/mod.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ rustc_queries! {
649649
/// Methods in these implementations don't need to be exported.
650650
query inherent_impls(key: DefId) -> &'tcx [DefId] {
651651
desc { |tcx| "collecting inherent impls for `{}`", tcx.def_path_str(key) }
652-
eval_always
653652
separate_provide_extern
654653
}
655654

@@ -808,15 +807,12 @@ rustc_queries! {
808807
/// Not meant to be used directly outside of coherence.
809808
query crate_inherent_impls(k: ()) -> CrateInherentImpls {
810809
storage(ArenaCacheSelector<'tcx>)
811-
eval_always
812810
desc { "all inherent impls defined in crate" }
813811
}
814812

815813
/// Checks all types in the crate for overlap in their inherent impls. Reports errors.
816814
/// Not meant to be used directly outside of coherence.
817-
query crate_inherent_impls_overlap_check(_: ())
818-
-> () {
819-
eval_always
815+
query crate_inherent_impls_overlap_check(_: ()) -> () {
820816
desc { "check for overlap between inherent impls defined in this crate" }
821817
}
822818

0 commit comments

Comments
 (0)