about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/issue-22426.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/run-pass/issue-22426.rs b/src/test/run-pass/issue-22426.rs
index f067d7fd3b1..b1c8f9c23c5 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, T);
-
-impl<T> Foo<T> {
-    fn foo(&self) {
-        match *self {
-            Foo::<T>(ref x, ref y) => {
-              println!("Goodbye, World!")
-            }
-        }
-    }
-}
-
 fn main() {
   match 42 {
     x if x < 7 => (),