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