rust/src/test/ui/parser/issue-32214.rs
2020-03-27 09:29:38 +01:00

6 lines
156 B
Rust

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