summary refs log tree commit diff
path: root/src/test/ui/parser/issue-32214.rs
blob: 7191a3234c0837828a3f8b1ab5149c0baa97c6b4 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Z continue-parse-after-error

trait Trait<T> { type Item; }

pub fn test<W, I: Trait<Item=(), W> >() {}
//~^ ERROR associated type bindings must be declared after generic parameters

fn main() { }