danielhenrymantilla / nougat.rs

(lifetime) GATs on stable Rust
https://docs.rs/nougat
Apache License 2.0
53 stars 6 forks source link

Make `Gat!` handle `impl for<'any> Trait<Assoc<'any> = …>` as well #12

Closed danielhenrymantilla closed 1 year ago

danielhenrymantilla commented 1 year ago

Allows for -> Gat!(impl '_ + for<'n> LendingIterator<Item<'n> = …> (and also the #[apply(Gat!)] at-the-top-of-the-item variant)