]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-32214.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / ui / parser / 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() { }