Esteban Küber
692bc344d5
Make parse error suggestions verbose and fix spans
...
Go over all structured parser suggestions and make them verbose style.
When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00
Zalathar
7f37f8af5f
coverage: Allow #[coverage(..)]
on impl
and mod
...
These attributes apply to all enclosed functions/methods/closures, unless
explicitly overridden by another coverage attribute.
2024-06-26 10:08:05 +10:00
Zalathar
1852141219
coverage: Bless coverage attribute tests
2024-06-24 20:15:03 +10:00
Zalathar
ebb3aa0d46
Also test that yes/no must be bare words
2024-06-20 17:11:53 +10:00
Zalathar
388aea471f
More status-quo tests for the #[coverage(..)]
attribute
...
These tests reveal some inconsistencies that are tracked by
<https://github.com/rust-lang/rust/issues/126658 >.
2024-06-20 17:11:53 +10:00
Zalathar
9a084e6310
Add a more thorough test of incorrect/unusal #[coverage(..)]
syntax
...
This test reflects the current implementation behaviour, which is not
necessarily the desired behaviour.
2024-06-18 21:07:37 +10:00
Zalathar
605b61534a
Create tests/ui/coverage-attr/
2024-06-18 20:30:25 +10:00