Files
rust/compiler/rustc_mir_transform/src
Jacob Pratt 70b69a2384 Rollup merge of #126721 - Zalathar:nested-cov-attr, r=oli-obk
coverage: Make `#[coverage(..)]` apply recursively to nested functions

This PR makes the (currently-unstable) `#[coverage(off)]` and `#[coverage(on)]` attributes apply recursively to all nested functions/closures, instead of just the function they are directly attached to.

Those attributes can now also be applied to modules and to impl/impl-trait blocks, where they have no direct effect, but will be inherited by all enclosed functions/closures/methods that don't override the inherited value.

---

Fixes #126625.
2024-06-27 02:06:18 -04:00
..
2024-06-16 21:35:21 -04:00
2024-06-16 21:35:21 -04:00
2024-04-20 19:20:38 +00:00
2024-06-19 13:54:51 +01:00
2024-06-14 16:54:29 -04:00
2024-06-20 22:16:59 -07:00