]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-1021.rs
Rollup merge of #85326 - infinity0:fix-cross-compile-tools, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / 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         S(/* .. */ .., true) => (),
11     }
12
13     match y {
14         (true, .., true) => (),
15         (true, ..) => (),
16         (.., true) => (),
17         (..) => (),
18         (_,) => (),
19         (/* .. */ ..) => (),
20         (/* .. */ .., true) => (),
21     }
22 }