Skip to content

Commit b13e072

Browse files
committed
Remove questionable pattern
1 parent 0643494 commit b13e072

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/test/run-pass/issue-22426.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
struct Foo<T>(T, T);
12-
13-
impl<T> Foo<T> {
14-
fn foo(&self) {
15-
match *self {
16-
Foo::<T>(ref x, ref y) => {
17-
println!("Goodbye, World!")
18-
}
19-
}
20-
}
21-
}
22-
2311
fn main() {
2412
match 42 {
2513
x if x < 7 => (),

0 commit comments

Comments
 (0)