summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-32214.rs
blob: 1379eeb58e6e861c87fc0c175c415739ad097d9d (plain)
1
2
3
4
5
6
trait Trait<T> { type Item; }

pub fn test<W, I: Trait<Item=(), W> >() {}
//~^ ERROR generic arguments must come before the first constraint

fn main() { }