1
Fork 0

Rollup merge of #120143 - compiler-errors:consolidate-instance-resolve-for-coroutines, r=oli-obk

Consolidate logic around resolving built-in coroutine trait impls

Deduplicates a lot of code. Requires defining a new lang item for `Coroutine::resume` for consistency, but it seems not harmful at worst, and potentially later useful at best.

r? oli-obk
This commit is contained in:
Matthias Krüger 2024-01-22 22:12:08 +01:00 committed by GitHub
commit 221115cbd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 56 additions and 58 deletions

View file

@ -600,6 +600,7 @@ symbols! {
core_panic_macro,
coroutine,
coroutine_clone,
coroutine_resume,
coroutine_state,
coroutines,
cosf32,