mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +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) => (),
|
|
}
|
|
}
|