diff options
| author | bombless <bombless@126.com> | 2015-02-20 03:36:40 +0800 |
|---|---|---|
| committer | bombless <bombless@126.com> | 2015-02-20 03:36:40 +0800 |
| commit | b13e072c9eb18796ffa7b61af5de0f0965186d24 (patch) | |
| tree | 759b3815c8043530c7540cabc86b65570fa7cd74 | |
| parent | 0643494bc4d093dd660044b86c1d43820c40daf8 (diff) | |
| download | rust-b13e072c9eb18796ffa7b61af5de0f0965186d24.tar.gz rust-b13e072c9eb18796ffa7b61af5de0f0965186d24.zip | |
Remove questionable pattern
| -rw-r--r-- | src/test/run-pass/issue-22426.rs | 12 |
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 => (), |
