diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-06 13:50:57 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-11-04 20:29:21 +0100 |
| commit | c4d7bebd950306b44e6820646ae9ea29404a5323 (patch) | |
| tree | c6ade11aac7306f3df5f5747619a95a6042f4406 | |
| parent | c4ff03f689c03d73d3a8af49611b1f2b54d6a300 (diff) | |
| download | rust-c4d7bebd950306b44e6820646ae9ea29404a5323.tar.gz rust-c4d7bebd950306b44e6820646ae9ea29404a5323.zip | |
Remove eval_always for inherent_impls.
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 6d384f5f3d6..3a9c249b938 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -649,7 +649,6 @@ rustc_queries! { /// Methods in these implementations don't need to be exported. query inherent_impls(key: DefId) -> &'tcx [DefId] { desc { |tcx| "collecting inherent impls for `{}`", tcx.def_path_str(key) } - eval_always separate_provide_extern } @@ -808,15 +807,12 @@ rustc_queries! { /// Not meant to be used directly outside of coherence. query crate_inherent_impls(k: ()) -> CrateInherentImpls { storage(ArenaCacheSelector<'tcx>) - eval_always desc { "all inherent impls defined in crate" } } /// Checks all types in the crate for overlap in their inherent impls. Reports errors. /// Not meant to be used directly outside of coherence. - query crate_inherent_impls_overlap_check(_: ()) - -> () { - eval_always + query crate_inherent_impls_overlap_check(_: ()) -> () { desc { "check for overlap between inherent impls defined in this crate" } } |
