mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
d6077f895a
Use associated type bounds in some places in the compiler Use associated type bounds for some nested `impl Trait<Assoc = impl Trait2>` cases. I'm generally keen to introduce new lang features that are more mature into the compiler, but maybe let's see what others think? Side-note: I was surprised that the only use-cases of nested impl trait in the compiler are just iterator related?!
For more information about how rustc works, see the rustc dev guide.