WfCheck opaques.

This commit is contained in:
Camille GILLOT 2024-08-18 14:33:03 +00:00
parent d6f247f3d5
commit 68f7ed4495
3 changed files with 32 additions and 13 deletions

View file

@ -1552,7 +1552,7 @@ rustc_queries! {
feedable
}
query check_well_formed(key: hir::OwnerId) -> Result<(), ErrorGuaranteed> {
query check_well_formed(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
desc { |tcx| "checking that `{}` is well-formed", tcx.def_path_str(key) }
ensure_forwards_result_if_red
}