mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 11:16:17 +00:00
Previously, we assumed all `ty::Coroutine` were general coroutines and attempted to generalize them through the `Coroutine` trait. Select appropriate traits for each kind of coroutine.