about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbombless <bombless@126.com>2015-02-20 03:36:40 +0800
committerbombless <bombless@126.com>2015-02-20 03:36:40 +0800
commitb13e072c9eb18796ffa7b61af5de0f0965186d24 (patch)
tree759b3815c8043530c7540cabc86b65570fa7cd74
parent0643494bc4d093dd660044b86c1d43820c40daf8 (diff)
downloadrust-b13e072c9eb18796ffa7b61af5de0f0965186d24.tar.gz
rust-b13e072c9eb18796ffa7b61af5de0f0965186d24.zip
Remove questionable pattern
-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 => (),