]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-447.rs
Merge pull request #3576 from rchaser53/issue-3567
[rust.git] / tests / target / issue-447.rs
1 // rustfmt-normalize_comments: true
2
3 fn main() {
4     if
5     // shouldn't be dropped
6     // shouldn't be dropped
7     cond
8     // shouldn't be dropped
9     // shouldn't be dropped
10     {
11     }
12     // shouldn't be dropped
13     // shouldn't be dropped
14     else
15     // shouldn't be dropped
16     // shouldn't be dropped
17     if
18     // shouldn't be dropped
19     // shouldn't be dropped
20     cond
21     // shouldn't be dropped
22     // shouldn't be dropped
23     {
24     }
25     // shouldn't be dropped
26     // shouldn't be dropped
27     else
28     // shouldn't be dropped
29     // shouldn't be dropped
30     {
31     }
32
33     if
34     // shouldn't be dropped
35     // shouldn't be dropped
36     let Some(x) = y
37     // shouldn't be dropped
38     // shouldn't be dropped
39     {}
40 }