summary refs log tree commit diff
path: root/tests/coverage/attr
AgeCommit message (Collapse)AuthorLines
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-41/+24
This makes it possible to treat more kinds of nested item/code as holes, instead of being restricted to closures.
2024-06-26coverage: Allow `#[coverage(..)]` on `impl` and `mod`Zalathar-0/+206
These attributes apply to all enclosed functions/methods/closures, unless explicitly overridden by another coverage attribute.
2024-06-26coverage: Apply `#[coverage(..)]` recursively to nested functionsZalathar-132/+42
2024-06-18Add more thorough coverage tests for `#[coverage(..)]` in nested functionsZalathar-0/+468
These tests reflect the current implementation behaviour, which is not necessarily the desired behaviour.