mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
23 lines
491 B
Rust
23 lines
491 B
Rust
// rustfmt-normalize_comments: true
|
|
fn main() {
|
|
match x {
|
|
S(true , .., true ) => (),
|
|
S(true , .. ) => (),
|
|
S(.., true ) => (),
|
|
S( .. ) => (),
|
|
S(_) => (),
|
|
S(/* .. */ .. ) => (),
|
|
S(/* .. */ .., true ) => (),
|
|
}
|
|
|
|
match y {
|
|
(true , .., true ) => (),
|
|
(true , .. ) => (),
|
|
(.., true ) => (),
|
|
( .. ) => (),
|
|
(_,) => (),
|
|
(/* .. */ .. ) => (),
|
|
(/* .. */ .., true ) => (),
|
|
}
|
|
}
|