Files
rust/compiler
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-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-01-07 14:30:02 +02:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-17 11:33:07 +00:00
2025-02-18 13:22:46 +01:00
2025-02-08 22:12:13 +00:00