]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-32214.rs
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / issue-32214.rs
1 trait Trait<T> { type Item; }
2
3 pub fn test<W, I: Trait<Item=(), W> >() {}
4 //~^ ERROR generic arguments must come before the first constraint
5
6 fn main() { }