mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 10:50:40 +00:00
Do not depend on Generator trait when deducing closure signature 1. Do not depend on `Generator` trait when deducing closure signature. 2. Compare the name of the `Generator::Return` associated item, rather than its order in the trait. Seems more stable this way.