has_typeck_results doesnt need to be a query

This commit is contained in:
Michael Goulet 2024-04-15 18:56:44 -04:00
parent 9f432d7b44
commit 6abf1aae24
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