1error: generic arguments must come before the first constraint
2  --> $DIR/issue-32214.rs:3:34
3   |
4LL | pub fn test<W, I: Trait<Item=(), W> >() {}
5   |                         -------  ^ generic argument
6   |                         |
7   |                         constraint
8   |
9help: move the constraint after the generic argument
10   |
11LL | pub fn test<W, I: Trait<W, Item = ()> >() {}
12   |                        ~~~~~~~~~~~~~~
13
14error: aborting due to previous error
15
16