rust/src/test/ui/parser/issue-32214.rs
Esteban Küber d6ea6b972d fix tidy
2019-05-31 13:50:04 -07:00

7 lines
167 B
Rust

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() { }