From b13e072c9eb18796ffa7b61af5de0f0965186d24 Mon Sep 17 00:00:00 2001 From: bombless Date: Fri, 20 Feb 2015 03:36:40 +0800 Subject: [PATCH] Remove questionable pattern --- src/test/run-pass/issue-22426.rs | 12 ------------ 1 file changed, 12 deletions(-) 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 => (),