rust/tests/target/issue-1021.rs
2017-08-27 14:41:30 +09:00

22 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) => (),
}
}