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-26 10:08:05 +10:00
2024-06-16 21:35:21 -04:00
2024-06-16 21:35:21 -04:00
2024-05-13 08:20:18 +10:00
2024-06-14 16:54:29 -04:00
2024-05-09 22:55:00 -04:00
2024-01-23 08:09:05 +11:00
2024-05-13 08:20:18 +10:00
2024-06-19 10:44:01 -07:00
2024-04-20 19:20:38 +00:00
2024-06-21 18:02:05 -07:00
2024-06-23 01:48:41 -07:00
2024-03-19 09:19:58 +00:00
2024-06-20 09:23:20 +10:00
2024-06-10 13:43:16 +02:00
2024-05-13 08:20:18 +10:00
2024-04-17 13:00:43 +02:00
2024-01-07 15:12:10 +00:00
2024-05-31 00:22:40 +00:00
2024-04-19 08:31:41 -04:00
2024-04-08 19:20:07 +08:00
2024-05-13 08:20:18 +10:00
2024-06-03 13:24:44 +10:00
2024-06-18 15:42:11 +00:00
2024-06-19 13:54:51 +01:00
2024-05-17 18:33:37 -03:00
2024-06-22 20:34:09 -07:00
2024-06-21 18:02:05 -07:00
2024-06-21 18:02:05 -07:00
2024-05-27 08:25:57 +02:00
2024-06-13 15:37:13 +02:00
2024-05-08 16:57:31 +10:00
2024-06-21 18:02:05 -07:00
2024-06-20 09:23:20 +10:00
2024-06-21 18:02:05 -07:00
2024-06-20 22:16:59 -07:00
2024-06-10 13:43:16 +02:00
2024-05-09 22:55:00 -04:00
2024-05-31 00:22:40 +00:00
2024-03-19 16:59:23 -04:00
2024-06-21 16:00:14 +00:00
2024-05-13 08:20:18 +10:00
2024-02-15 15:54:28 +01:00
2024-01-23 20:58:44 +01:00
2024-01-07 15:12:10 +00:00
2024-02-06 02:22:58 +00:00
2024-06-13 15:37:13 +02:00
2024-06-13 15:37:13 +02:00
2024-06-21 18:02:05 -07:00
2024-03-24 12:53:03 +01:00
2024-06-10 13:43:16 +02:00
2024-04-03 19:06:22 +03:00
2024-06-10 00:06:02 -07:00
2024-06-14 16:54:29 -04:00
2024-05-13 08:20:18 +10:00
2024-05-13 08:20:18 +10:00
2024-05-13 08:20:18 +10:00
2024-06-20 22:16:59 -07:00