2016-05-02 08:09:36 -05:00
|
|
|
// compile-flags: -Z parse-only -Z continue-parse-after-error
|
|
|
|
|
2017-01-17 12:18:29 -06:00
|
|
|
pub fn test<W, I: Iterator<Item=(), W> >() {}
|
|
|
|
//~^ ERROR type parameters must be declared prior to associated type bindings
|
2016-05-02 08:09:36 -05:00
|
|
|
|
|
|
|
fn main() { }
|