]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-1021.rs
Fix bug in identifying comments
[rust.git] / tests / target / issue-1021.rs
1 // rustfmt-normalize_comments: true
2 fn main() {
3     match x {
4         S(true, .., true) => (),
5         S(true, ..) => (),
6         S(.., true) => (),
7         S(..) => (),
8         S(_) => (),
9         S(// ..
10           ..) => (),
11         S(// ..
12           ..,
13           true) => (),
14     }
15
16     match y {
17         (true, .., true) => (),
18         (true, ..) => (),
19         (.., true) => (),
20         (..) => (),
21         (_,) => (),
22         (// ..
23          ..) => (),
24         (// ..
25          ..,
26          true) => (),
27     }
28 }