diff --git a/src/test/run-pass/issue-22426.rs b/src/test/run-pass/issue-22426.rs index f067d7fd3b12..b1c8f9c23c5d 100644 --- a/src/test/run-pass/issue-22426.rs +++ b/src/test/run-pass/issue-22426.rs @@ -8,18 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -struct Foo(T, T); - -impl Foo { - fn foo(&self) { - match *self { - Foo::(ref x, ref y) => { - println!("Goodbye, World!") - } - } - } -} - fn main() { match 42 { x if x < 7 => (),