File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
src/test/run-make-fulldeps/coverage-reports Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 3737 37| 0| countdown = 10;
3838 38| 0| }
3939 39| 0| "alt string 2".to_owned()
40- 40| 0 | };
40+ 40| | };
4141 41| 1| println!(
4242 42| 1| "The string or alt: {}"
4343 43| 1| ,
7979 79| 0| countdown = 10;
8080 80| 1| }
8181 81| 1| "alt string 4".to_owned()
82- 82| 1 | };
82+ 82| | };
8383 83| 1| println!(
8484 84| 1| "The string or alt: {}"
8585 85| 1| ,
101101 101| 0| countdown = 10;
102102 102| 5| }
103103 103| 5| format!("'{}'", val)
104- 104| 5 | };
104+ 104| | };
105105 105| 1| println!(
106106 106| 1| "Repeated, quoted string: {:?}"
107107 107| 1| ,
125125 125| 0| countdown = 10;
126126 126| 0| }
127127 127| 0| "closure should be unused".to_owned()
128- 128| 0 | };
128+ 128| | };
129129 129| |
130130 130| 1| let mut countdown = 10;
131131 131| 1| let _short_unused_closure = | _unused_arg: u8 | countdown += 1;
177177 173| 0| println!(
178178 174| 0| "not called: {}",
179179 175| 0| if is_true { "check" } else { "me" }
180- 176| 0 | )
180+ 176| | )
181181 177| | ;
182182 178| |
183183 179| 1| let short_used_not_covered_closure_line_break_block_embedded_branch =
187187 183| 0| "not called: {}",
188188 184| 0| if is_true { "check" } else { "me" }
189189 185| | )
190- 186| 0 | }
190+ 186| | }
191191 187| | ;
192192 188| |
193193 189| 1| let short_used_covered_closure_line_break_no_block_embedded_branch =
196196 192| 1| "not called: {}",
197197 193| 1| if is_true { "check" } else { "me" }
198198 ^0
199- 194| 1 | )
199+ 194| | )
200200 195| | ;
201201 196| |
202202 197| 1| let short_used_covered_closure_line_break_block_embedded_branch =
207207 202| 1| if is_true { "check" } else { "me" }
208208 ^0
209209 203| | )
210- 204| 1 | }
210+ 204| | }
211211 205| | ;
212212 206| |
213213 207| 1| if is_false {
Original file line number Diff line number Diff line change 1818 17| 1| let mut generator = || {
1919 18| 1| yield get_u32(is_true);
2020 19| 1| return "foo";
21- 20| 1 | };
21+ 20| | };
2222 21| |
2323 22| 1| match Pin::new(&mut generator).resume(()) {
2424 23| 1| GeneratorState::Yielded(Ok(1)) => {}
Original file line number Diff line number Diff line change 88 8| 1| let mut generator = || {
99 9| 1| yield 1;
1010 10| 1| return "foo"
11- 11| 1 | };
11+ 11| | };
1212 12| |
1313 13| 1| match Pin::new(&mut generator).resume(()) {
1414 14| 1| GeneratorState::Yielded(1) => {}
2424 24| 1| yield 2;
2525 25| 0| yield 3;
2626 26| 0| return "foo"
27- 27| 0 | };
27+ 27| | };
2828 28| |
2929 29| 1| match Pin::new(&mut generator).resume(()) {
3030 30| 1| GeneratorState::Yielded(1) => {}
You can’t perform that action at this time.
0 commit comments