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