rust-lang / types-team

Home of the "types team", affiliated with the compiler and lang teams.
https://rust-lang.github.io/types-team/
Apache License 2.0
94 stars 19 forks source link

RPIT capture all lifetimes #110

Open nikomatsakis opened 11 months ago

nikomatsakis commented 11 months ago

As proposed in rust-lang/rust#3498, we wish to change -> impl Trait to implicitly capture all generic parameters, and not just types. This makes things more consistent with RPITIT.

Requires #106 to make things convenient

nikomatsakis commented 11 months ago

@traviscross has opened RFC https://github.com/rust-lang/rfcs/pull/3498