]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-4312.rs
Rollup merge of #85409 - CDirkx:cfg_redox, r=nagisa
[rust.git] / src / tools / rustfmt / tests / target / issue-4312.rs
1 // issue 4312
2 fn main() {
3     /* " */
4     println!("Hello, world!");
5     /* abc " */
6     println!("Hello, world!");
7     /* " abc */
8     println!("Hello, world!");
9     let y = 4;
10     let x = match 1 + y == 3 {
11         True => 3,
12         False => 4,
13         /* " unreachable */
14     };
15 }
16
17 // issue 4806
18 enum X {
19     A,
20     B,
21     /*"*/
22 }