blob: 7e55bc038e76681d412793a4333ec3ca7e34800c (
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 type parameters must be declared prior to associated type bindings
fn main() { }
|