28 lines
482 B
Rust
28 lines
482 B
Rust
|
fn main() {
|
||
|
match x {
|
||
|
S(true, .., true) => (),
|
||
|
S(true, ..) => (),
|
||
|
S(.., true) => (),
|
||
|
S(..) => (),
|
||
|
S(_) => (),
|
||
|
S(// ..
|
||
|
..) => (),
|
||
|
S(// ..
|
||
|
..,
|
||
|
true) => (),
|
||
|
}
|
||
|
|
||
|
match y {
|
||
|
(true, .., true) => (),
|
||
|
(true, ..) => (),
|
||
|
(.., true) => (),
|
||
|
(..) => (),
|
||
|
(_,) => (),
|
||
|
(// ..
|
||
|
..) => (),
|
||
|
(// ..
|
||
|
..,
|
||
|
true) => (),
|
||
|
}
|
||
|
}
|