mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +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 ) => (),
|
|
}
|
|
}
|