rust/tests/target/issue-1021.rs

23 lines
473 B
Rust
Raw Normal View History

// rustfmt-normalize_comments: true
fn main() {
match x {
S(true, .., true) => (),
S(true, ..) => (),
S(.., true) => (),
S(..) => (),
S(_) => (),
2017-08-27 00:41:30 -05:00
S(/* .. */ ..) => (),
S(/* .. */ .., true) => (),
}
match y {
(true, .., true) => (),
(true, ..) => (),
(.., true) => (),
(..) => (),
2019-08-05 21:09:45 -05:00
(_,) => (),
2017-08-27 00:41:30 -05:00
(/* .. */ ..) => (),
(/* .. */ .., true) => (),
}
}