mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
22 lines
455 B
Rust
22 lines
455 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 ) => (),
|
|
}
|
|
}
|