diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-07-01 13:29:54 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-07-08 21:22:56 +1000 |
| commit | 63c04f05e60ce27311fc1b874907188616beb558 (patch) | |
| tree | 3f5586fdf64343de3ac0d65f454fbabe45e98cbd /tests/coverage/attr/nested.rs | |
| parent | 9b2c58d1faf2dba1aef0e8556cec8e0ca6b7b996 (diff) | |
| download | rust-63c04f05e60ce27311fc1b874907188616beb558.tar.gz rust-63c04f05e60ce27311fc1b874907188616beb558.zip | |
coverage: Extract hole spans from HIR instead of MIR
This makes it possible to treat more kinds of nested item/code as holes, instead of being restricted to closures.
Diffstat (limited to 'tests/coverage/attr/nested.rs')
| -rw-r--r-- | tests/coverage/attr/nested.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/coverage/attr/nested.rs b/tests/coverage/attr/nested.rs index c7ff835f44f..8213e29b6fc 100644 --- a/tests/coverage/attr/nested.rs +++ b/tests/coverage/attr/nested.rs @@ -4,11 +4,6 @@ // Demonstrates the interaction between #[coverage(off)] and various kinds of // nested function. -// FIXME(#126625): Coverage attributes should apply recursively to nested functions. -// FIXME(#126626): When an inner (non-closure) function has `#[coverage(off)]`, -// its lines can still be marked with misleading execution counts from its enclosing -// function. - #[coverage(off)] fn do_stuff() {} |
