mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
23 lines
473 B
Rust
23 lines
473 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) => (),
|
|
}
|
|
}
|