File tree 3 files changed +11
-11
lines changed
src/test/run-make-fulldeps/coverage-reports
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 37
37
37| 0| countdown = 10;
38
38
38| 0| }
39
39
39| 0| "alt string 2".to_owned()
40
- 40| 0 | };
40
+ 40| | };
41
41
41| 1| println!(
42
42
42| 1| "The string or alt: {}"
43
43
43| 1| ,
79
79
79| 0| countdown = 10;
80
80
80| 1| }
81
81
81| 1| "alt string 4".to_owned()
82
- 82| 1 | };
82
+ 82| | };
83
83
83| 1| println!(
84
84
84| 1| "The string or alt: {}"
85
85
85| 1| ,
101
101
101| 0| countdown = 10;
102
102
102| 5| }
103
103
103| 5| format!("'{}'", val)
104
- 104| 5 | };
104
+ 104| | };
105
105
105| 1| println!(
106
106
106| 1| "Repeated, quoted string: {:?}"
107
107
107| 1| ,
125
125
125| 0| countdown = 10;
126
126
126| 0| }
127
127
127| 0| "closure should be unused".to_owned()
128
- 128| 0 | };
128
+ 128| | };
129
129
129| |
130
130
130| 1| let mut countdown = 10;
131
131
131| 1| let _short_unused_closure = | _unused_arg: u8 | countdown += 1;
177
177
173| 0| println!(
178
178
174| 0| "not called: {}",
179
179
175| 0| if is_true { "check" } else { "me" }
180
- 176| 0 | )
180
+ 176| | )
181
181
177| | ;
182
182
178| |
183
183
179| 1| let short_used_not_covered_closure_line_break_block_embedded_branch =
187
187
183| 0| "not called: {}",
188
188
184| 0| if is_true { "check" } else { "me" }
189
189
185| | )
190
- 186| 0 | }
190
+ 186| | }
191
191
187| | ;
192
192
188| |
193
193
189| 1| let short_used_covered_closure_line_break_no_block_embedded_branch =
196
196
192| 1| "not called: {}",
197
197
193| 1| if is_true { "check" } else { "me" }
198
198
^0
199
- 194| 1 | )
199
+ 194| | )
200
200
195| | ;
201
201
196| |
202
202
197| 1| let short_used_covered_closure_line_break_block_embedded_branch =
207
207
202| 1| if is_true { "check" } else { "me" }
208
208
^0
209
209
203| | )
210
- 204| 1 | }
210
+ 204| | }
211
211
205| | ;
212
212
206| |
213
213
207| 1| if is_false {
Original file line number Diff line number Diff line change 18
18
17| 1| let mut generator = || {
19
19
18| 1| yield get_u32(is_true);
20
20
19| 1| return "foo";
21
- 20| 1 | };
21
+ 20| | };
22
22
21| |
23
23
22| 1| match Pin::new(&mut generator).resume(()) {
24
24
23| 1| GeneratorState::Yielded(Ok(1)) => {}
Original file line number Diff line number Diff line change 8
8
8| 1| let mut generator = || {
9
9
9| 1| yield 1;
10
10
10| 1| return "foo"
11
- 11| 1 | };
11
+ 11| | };
12
12
12| |
13
13
13| 1| match Pin::new(&mut generator).resume(()) {
14
14
14| 1| GeneratorState::Yielded(1) => {}
24
24
24| 1| yield 2;
25
25
25| 0| yield 3;
26
26
26| 0| return "foo"
27
- 27| 0 | };
27
+ 27| | };
28
28
28| |
29
29
29| 1| match Pin::new(&mut generator).resume(()) {
30
30
30| 1| GeneratorState::Yielded(1) => {}
You can’t perform that action at this time.
0 commit comments