Skip to content

Commit fea054b

Browse files
committed
Bless coverage.
1 parent 4ff53bf commit fea054b

File tree

3 files changed

+232
-307
lines changed

3 files changed

+232
-307
lines changed

tests/coverage/closure.cov-map

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,22 @@ Number of file 0 mappings: 66
7474
- Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)
7575
Highest counter ID seen: c1
7676

77-
Function name: closure::main::{closure#0}
78-
Raw bytes (51): 0x[01, 01, 01, 01, 05, 09, 01, 28, 05, 00, 06, 01, 01, 0d, 00, 1a, 01, 00, 1d, 00, 1e, 01, 01, 0c, 00, 14, 05, 00, 15, 02, 0a, 02, 02, 09, 00, 0a, 01, 01, 09, 00, 17, 01, 00, 18, 00, 20, 01, 01, 05, 00, 06]
77+
Function name: closure::main::{closure#0} (unused)
78+
Raw bytes (49): 0x[01, 01, 00, 09, 00, 28, 05, 00, 06, 00, 01, 0d, 00, 1a, 00, 00, 1d, 00, 1e, 00, 01, 0c, 00, 14, 00, 00, 15, 02, 0a, 00, 02, 09, 00, 0a, 00, 01, 09, 00, 17, 00, 00, 18, 00, 20, 00, 01, 05, 00, 06]
7979
Number of files: 1
8080
- file 0 => $DIR/closure.rs
81-
Number of expressions: 1
82-
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
81+
Number of expressions: 0
8382
Number of file 0 mappings: 9
84-
- Code(Counter(0)) at (prev + 40, 5) to (start + 0, 6)
85-
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 26)
86-
- Code(Counter(0)) at (prev + 0, 29) to (start + 0, 30)
87-
- Code(Counter(0)) at (prev + 1, 12) to (start + 0, 20)
88-
- Code(Counter(1)) at (prev + 0, 21) to (start + 2, 10)
89-
- Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 0, 10)
90-
= (c0 - c1)
91-
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 23)
92-
- Code(Counter(0)) at (prev + 0, 24) to (start + 0, 32)
93-
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
94-
Highest counter ID seen: c1
83+
- Code(Zero) at (prev + 40, 5) to (start + 0, 6)
84+
- Code(Zero) at (prev + 1, 13) to (start + 0, 26)
85+
- Code(Zero) at (prev + 0, 29) to (start + 0, 30)
86+
- Code(Zero) at (prev + 1, 12) to (start + 0, 20)
87+
- Code(Zero) at (prev + 0, 21) to (start + 2, 10)
88+
- Code(Zero) at (prev + 2, 9) to (start + 0, 10)
89+
- Code(Zero) at (prev + 1, 9) to (start + 0, 23)
90+
- Code(Zero) at (prev + 0, 24) to (start + 0, 32)
91+
- Code(Zero) at (prev + 1, 5) to (start + 0, 6)
92+
Highest counter ID seen: (none)
9593

9694
Function name: closure::main::{closure#10} (unused)
9795
Raw bytes (25): 0x[01, 01, 00, 04, 00, 9b, 01, 07, 00, 08, 00, 00, 09, 00, 11, 00, 00, 12, 00, 1e, 00, 00, 20, 00, 21]
@@ -197,24 +195,22 @@ Number of file 0 mappings: 7
197195
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 10)
198196
Highest counter ID seen: c1
199197

200-
Function name: closure::main::{closure#18}
201-
Raw bytes (51): 0x[01, 01, 01, 01, 05, 09, 01, 19, 0d, 00, 0e, 01, 01, 15, 00, 22, 01, 00, 25, 00, 26, 01, 01, 14, 00, 1c, 05, 00, 1d, 02, 12, 02, 02, 11, 00, 12, 01, 01, 11, 00, 1f, 01, 00, 20, 00, 28, 01, 01, 0d, 00, 0e]
198+
Function name: closure::main::{closure#18} (unused)
199+
Raw bytes (49): 0x[01, 01, 00, 09, 00, 19, 0d, 00, 0e, 00, 01, 15, 00, 22, 00, 00, 25, 00, 26, 00, 01, 14, 00, 1c, 00, 00, 1d, 02, 12, 00, 02, 11, 00, 12, 00, 01, 11, 00, 1f, 00, 00, 20, 00, 28, 00, 01, 0d, 00, 0e]
202200
Number of files: 1
203201
- file 0 => $DIR/closure.rs
204-
Number of expressions: 1
205-
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
202+
Number of expressions: 0
206203
Number of file 0 mappings: 9
207-
- Code(Counter(0)) at (prev + 25, 13) to (start + 0, 14)
208-
- Code(Counter(0)) at (prev + 1, 21) to (start + 0, 34)
209-
- Code(Counter(0)) at (prev + 0, 37) to (start + 0, 38)
210-
- Code(Counter(0)) at (prev + 1, 20) to (start + 0, 28)
211-
- Code(Counter(1)) at (prev + 0, 29) to (start + 2, 18)
212-
- Code(Expression(0, Sub)) at (prev + 2, 17) to (start + 0, 18)
213-
= (c0 - c1)
214-
- Code(Counter(0)) at (prev + 1, 17) to (start + 0, 31)
215-
- Code(Counter(0)) at (prev + 0, 32) to (start + 0, 40)
216-
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 14)
217-
Highest counter ID seen: c1
204+
- Code(Zero) at (prev + 25, 13) to (start + 0, 14)
205+
- Code(Zero) at (prev + 1, 21) to (start + 0, 34)
206+
- Code(Zero) at (prev + 0, 37) to (start + 0, 38)
207+
- Code(Zero) at (prev + 1, 20) to (start + 0, 28)
208+
- Code(Zero) at (prev + 0, 29) to (start + 2, 18)
209+
- Code(Zero) at (prev + 2, 17) to (start + 0, 18)
210+
- Code(Zero) at (prev + 1, 17) to (start + 0, 31)
211+
- Code(Zero) at (prev + 0, 32) to (start + 0, 40)
212+
- Code(Zero) at (prev + 1, 13) to (start + 0, 14)
213+
Highest counter ID seen: (none)
218214

219215
Function name: closure::main::{closure#19}
220216
Raw bytes (51): 0x[01, 01, 01, 01, 05, 09, 01, 43, 0d, 00, 0e, 01, 01, 15, 00, 22, 01, 00, 25, 00, 26, 01, 01, 14, 00, 1c, 05, 00, 1d, 02, 12, 02, 02, 11, 00, 12, 01, 01, 11, 00, 1f, 01, 00, 20, 00, 28, 01, 01, 0d, 00, 0e]

0 commit comments

Comments
 (0)