mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-13 03:03:12 -04:00
b669f0d08c
Add missing generic test coverage for ```#[splat]``` This PR adds missing test coverage for `#[splat]` that was marked as FIXME in `splat-generics-everywhere.rs`: - Add generic parameter to `BarTrait` (`BarTrait<T>`) - Add `generic_in_tuple` , tests generics inside the splatted tuple - Add `generic_tuple_assoc` , tests assoc functions with splatted generic tuple traits - Add `trait_generic_in_tuple` , tests generics inside splatted tuple on trait methods - Add `trait_generic_tuple` , tests splatted generic tuple trait bounds on trait methods Removes the resolved FIXME comments: - also add generics to the trait - also add assoc/method with splatted generic tuple traits - also add generics inside the splatted tuple CC:- @teor2345 r? @teor2345