Auto merge of #90579 - cjgillot:no-ee-ii, r=Aaron1011
Remove eval_always for inherent_impls. Split off https://github.com/rust-lang/rust/pull/86056 r? `@ghost`
This commit is contained in:
@@ -649,7 +649,6 @@ rustc_queries! {
|
|||||||
/// Methods in these implementations don't need to be exported.
|
/// Methods in these implementations don't need to be exported.
|
||||||
query inherent_impls(key: DefId) -> &'tcx [DefId] {
|
query inherent_impls(key: DefId) -> &'tcx [DefId] {
|
||||||
desc { |tcx| "collecting inherent impls for `{}`", tcx.def_path_str(key) }
|
desc { |tcx| "collecting inherent impls for `{}`", tcx.def_path_str(key) }
|
||||||
eval_always
|
|
||||||
separate_provide_extern
|
separate_provide_extern
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -810,15 +809,12 @@ rustc_queries! {
|
|||||||
/// Not meant to be used directly outside of coherence.
|
/// Not meant to be used directly outside of coherence.
|
||||||
query crate_inherent_impls(k: ()) -> CrateInherentImpls {
|
query crate_inherent_impls(k: ()) -> CrateInherentImpls {
|
||||||
storage(ArenaCacheSelector<'tcx>)
|
storage(ArenaCacheSelector<'tcx>)
|
||||||
eval_always
|
|
||||||
desc { "all inherent impls defined in crate" }
|
desc { "all inherent impls defined in crate" }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks all types in the crate for overlap in their inherent impls. Reports errors.
|
/// Checks all types in the crate for overlap in their inherent impls. Reports errors.
|
||||||
/// Not meant to be used directly outside of coherence.
|
/// Not meant to be used directly outside of coherence.
|
||||||
query crate_inherent_impls_overlap_check(_: ())
|
query crate_inherent_impls_overlap_check(_: ()) -> () {
|
||||||
-> () {
|
|
||||||
eval_always
|
|
||||||
desc { "check for overlap between inherent impls defined in this crate" }
|
desc { "check for overlap between inherent impls defined in this crate" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user