rust/tests/coverage/try-in-macro.derive.cov-map
Zalathar 7ca4d1f6a1 coverage: Regression test for "function name is empty" bug
The bug was triggered by a particular usage of the `?` try operator in a
proc-macro expansion.

Thanks to lqd for the minimization.

Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
2025-07-29 11:36:43 +10:00

21 lines
753 B
Plaintext

Function name: <try_in_macro::MyEnum as try_in_macro::Arbitrary>::try_size_hint
Raw bytes (9): 0x[01, 01, 00, 01, 00, 26, 38, 00, 39]
Number of files: 1
- file 0 => $DIR/try-in-macro.rs
Number of expressions: 0
Number of file 0 mappings: 1
- Code(Zero) at (prev + 38, 56) to (start + 0, 57)
Highest counter ID seen: (none)
Function name: try_in_macro::main
Raw bytes (19): 0x[01, 01, 00, 03, 01, 29, 01, 00, 0a, 01, 01, 05, 00, 1a, 01, 01, 01, 00, 02]
Number of files: 1
- file 0 => $DIR/try-in-macro.rs
Number of expressions: 0
Number of file 0 mappings: 3
- Code(Counter(0)) at (prev + 41, 1) to (start + 0, 10)
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 26)
- Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)
Highest counter ID seen: c0