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 05:41:30 +00:00
S(/* .. */ ..) => (),
S(/* .. */ .., true) => (),
}
match y {
(true, .., true) => (),
(true, ..) => (),
(.., true) => (),
(..) => (),
(_,) => (),
2017-08-27 05:41:30 +00:00
(/* .. */ ..) => (),
(/* .. */ .., true) => (),
}
}