1
Fork 0

Allow defining opaques in check_coroutine_obligations

This commit is contained in:
Michael Goulet 2023-11-22 03:43:59 +00:00
parent ed10a53025
commit 4f958a4802
3 changed files with 36 additions and 5 deletions

View file

@ -567,7 +567,7 @@ rustc_queries! {
separate_provide_extern
}
query check_coroutine_obligations(key: LocalDefId) {
query check_coroutine_obligations(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
desc { |tcx| "verify auto trait bounds for coroutine interior type `{}`", tcx.def_path_str(key) }
}