]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | // run-pass |
0bf4aa26 | 2 | #![allow(dead_code)] |
c34b1796 AL |
3 | // pretty-expanded FIXME #23616 |
4 | ||
5 | struct Foo { foo: bool, bar: Option<isize>, baz: isize } | |
223e47cc LB |
6 | |
7 | pub fn main() { | |
1a4d82fc JJ |
8 | match (Foo{foo: true, bar: Some(10), baz: 20}) { |
9 | Foo{foo: true, bar: Some(_), ..} => {} | |
10 | Foo{foo: false, bar: None, ..} => {} | |
11 | Foo{foo: true, bar: None, ..} => {} | |
12 | Foo{foo: false, bar: Some(_), ..} => {} | |
223e47cc LB |
13 | } |
14 | } |