1
Fork 0

Auto merge of #123992 - compiler-errors:no-has-typeck-results, r=jackh726

`has_typeck_results` doesnt need to be a query

self-explanatory
This commit is contained in:
bors 2024-04-23 04:13:33 +00:00
commit a77f76e263
5 changed files with 17 additions and 31 deletions

View file

@ -975,10 +975,6 @@ rustc_queries! {
cache_on_disk_if { true }
}
query has_typeck_results(def_id: DefId) -> bool {
desc { |tcx| "checking whether `{}` has a body", tcx.def_path_str(def_id) }
}
query coherent_trait(def_id: DefId) -> Result<(), ErrorGuaranteed> {
desc { |tcx| "coherence checking all impls of trait `{}`", tcx.def_path_str(def_id) }
ensure_forwards_result_if_red