rust/tests/ui/parser/issues/issue-32214.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
156 B
Rust
Raw Normal View History

trait Trait<T> { type Item; }
pub fn test<W, I: Trait<Item=(), W> >() {}
2020-03-27 01:39:10 -05:00
//~^ ERROR generic arguments must come before the first constraint
fn main() { }