]> git.lizzy.rs Git - rust.git/blob - tests/run-make/coverage-reports/expected_show_coverage.continue.txt
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / run-make / coverage-reports / expected_show_coverage.continue.txt
1     1|       |#![allow(unused_assignments, unused_variables)]
2     2|       |
3     3|      1|fn main() {
4     4|      1|    let is_true = std::env::args().len() == 1;
5     5|      1|
6     6|      1|    let mut x = 0;
7     7|     11|    for _ in 0..10 {
8     8|     10|        match is_true {
9     9|       |            true => {
10    10|     10|                continue;
11    11|       |            }
12    12|      0|            _ => {
13    13|      0|                x = 1;
14    14|      0|            }
15    15|      0|        }
16    16|      0|        x = 3;
17    17|       |    }
18    18|     11|    for _ in 0..10 {
19    19|     10|        match is_true {
20    20|      0|            false => {
21    21|      0|                x = 1;
22    22|      0|            }
23    23|       |            _ => {
24    24|     10|                continue;
25    25|       |            }
26    26|       |        }
27    27|      0|        x = 3;
28    28|       |    }
29    29|     11|    for _ in 0..10 {
30    30|     10|        match is_true {
31    31|     10|            true => {
32    32|     10|                x = 1;
33    33|     10|            }
34    34|       |            _ => {
35    35|      0|                continue;
36    36|       |            }
37    37|       |        }
38    38|     10|        x = 3;
39    39|       |    }
40    40|     11|    for _ in 0..10 {
41    41|     10|        if is_true {
42    42|     10|            continue;
43    43|      0|        }
44    44|      0|        x = 3;
45    45|       |    }
46    46|     11|    for _ in 0..10 {
47    47|     10|        match is_true {
48    48|      0|            false => {
49    49|      0|                x = 1;
50    50|      0|            }
51    51|     10|            _ => {
52    52|     10|                let _ = x;
53    53|     10|            }
54    54|       |        }
55    55|     10|        x = 3;
56    56|       |    }
57    57|      1|    for _ in 0..10 {
58    58|      1|        match is_true {
59    59|      0|            false => {
60    60|      0|                x = 1;
61    61|      0|            }
62    62|       |            _ => {
63    63|      1|                break;
64    64|       |            }
65    65|       |        }
66    66|      0|        x = 3;
67    67|       |    }
68    68|       |    let _ = x;
69    69|      1|}
70