Matthias Krüger
3fc6dfd5ed
Rollup merge of #137251 - Zalathar:holes-visitor, r=jieyouxu
...
coverage: Get hole spans from nested items without fully visiting them
This is a small simplification to the code that collects the spans of nested items within a function, so that those spans can be treated as “holes” to be avoided by the current function's coverage mappings.
The old code was using `nested_filter::All` to ensure that the visitor would see nested items. But we don't need the actual items themselves; we just need their spans, which we can obtain via a custom implementation of `visit_nested_item`.
This avoids the more expansive queries required by `nested_filter::All`.
2025-02-19 18:52:10 +01:00
..
2025-02-08 22:12:13 +00:00
2025-02-19 14:02:29 +11:00
2024-11-18 10:38:56 +01:00
2025-02-08 22:12:13 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-02-14 16:15:57 +11:00
2025-02-08 22:12:13 +00:00
2025-02-14 16:15:57 +11:00
2025-02-08 21:38:16 +00:00
2025-02-08 22:12:13 +00:00
2025-01-31 16:04:13 +11:00
2025-02-18 10:17:44 +11:00
2025-02-08 21:38:16 +00:00
2024-11-18 10:38:56 +01:00
2025-02-10 12:49:18 +00:00
2025-02-10 12:49:18 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-02-18 13:31:08 +11:00
2024-11-18 10:38:56 +01:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-31 17:19:53 +00:00
2025-01-23 17:40:41 +00:00
2025-01-11 11:34:01 +00:00
2025-02-14 16:15:57 +11:00
2025-01-31 17:19:53 +00:00
2025-01-23 17:40:41 +00:00
2025-02-14 16:15:57 +11:00
2025-02-14 16:15:57 +11:00
2025-02-19 07:49:08 +00:00
2025-02-18 13:12:50 +11:00
2025-01-27 01:23:34 +00:00
2025-02-18 10:17:44 +11:00
2025-02-11 19:42:47 -08:00
2025-02-10 12:49:18 +00:00
2025-01-23 17:40:41 +00:00
2025-02-18 10:17:44 +11:00
2025-02-18 10:17:44 +11:00
2025-01-23 17:40:41 +00:00
2025-02-08 22:12:13 +00:00
2025-02-18 12:52:56 +11:00
2025-02-18 10:17:44 +11:00
2025-01-10 07:08:28 +01:00
2025-01-11 11:34:01 +00:00
2025-02-03 12:53:57 -08:00
2025-01-23 17:40:41 +00:00
2025-02-14 16:15:57 +11:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-02-18 13:12:50 +11:00
2025-01-23 17:40:41 +00:00
2024-09-10 09:11:17 +10:00
2025-01-23 17:40:41 +00:00
2025-02-08 22:12:13 +00:00
2025-01-23 17:40:41 +00:00
2025-02-14 16:15:57 +11:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2025-01-23 17:40:41 +00:00
2024-09-22 19:11:29 -04:00
2024-09-03 16:03:46 +10:00
2025-02-15 23:20:52 -08:00
2025-01-23 17:40:41 +00:00
2025-02-08 22:12:13 +00:00
2025-01-23 17:40:41 +00:00
2025-02-18 13:43:43 +11:00
2025-02-14 16:15:57 +11:00
2025-02-08 22:12:13 +00:00
2025-01-23 17:40:41 +00:00
2025-02-14 16:15:57 +11:00
2025-02-14 16:15:57 +11:00
2025-02-06 11:36:58 +01:00