struct Foo(T, T); impl Foo { fn foo(&self) { match *self { Foo(x, y) => { //~ ERROR generic args in patterns require the turbofish syntax println!("Goodbye, World!") } } } } fn main() {}