1
Fork 0

rename codegen_fulfill_obligation

This commit is contained in:
lcnr 2022-09-09 13:36:27 +02:00
parent 14f2acd0ac
commit c63020a7c3
7 changed files with 10 additions and 15 deletions

View file

@ -1202,14 +1202,11 @@ rustc_queries! {
}
}
query codegen_fulfill_obligation(
query codegen_select_candidate(
key: (ty::ParamEnv<'tcx>, ty::PolyTraitRef<'tcx>)
) -> Result<&'tcx ImplSource<'tcx, ()>, traits::CodegenObligationError> {
cache_on_disk_if { true }
desc { |tcx|
"checking if `{}` fulfills its obligations",
tcx.def_path_str(key.1.def_id())
}
desc { |tcx| "computing candidate for `{}`", key.1 }
}
/// Return all `impl` blocks in the current crate.