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