From 63c04f05e60ce27311fc1b874907188616beb558 Mon Sep 17 00:00:00 2001 From: Zalathar Date: Mon, 1 Jul 2024 13:29:54 +1000 Subject: 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. --- tests/coverage/attr/nested.coverage | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/coverage/attr/nested.coverage') diff --git a/tests/coverage/attr/nested.coverage b/tests/coverage/attr/nested.coverage index bdd117b7dfa..2d64fe698ea 100644 --- a/tests/coverage/attr/nested.coverage +++ b/tests/coverage/attr/nested.coverage @@ -4,11 +4,6 @@ LL| |// Demonstrates the interaction between #[coverage(off)] and various kinds of LL| |// nested function. LL| | - LL| |// FIXME(#126625): Coverage attributes should apply recursively to nested functions. - LL| |// FIXME(#126626): When an inner (non-closure) function has `#[coverage(off)]`, - LL| |// its lines can still be marked with misleading execution counts from its enclosing - LL| |// function. - LL| | LL| |#[coverage(off)] LL| |fn do_stuff() {} LL| | -- cgit 1.4.1-3-g733a5