Esteban Küber
9f1044ef76
Account for ///
when rendering multiline spans
...
Don't consider `///` and `//!` docstrings to be empty for the purposes of multiline span rendering.
2024-12-13 18:48:33 +00:00
Esteban Küber
49a22a4245
Filter empty lines, comments and delimiters from previous to last multiline span rendering
2024-12-12 23:36:27 +00:00
Esteban Küber
65a54a7f27
Tweak multispan rendering
...
Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments.
2024-12-12 23:36:27 +00:00
Guillaume Gomez
632fed891d
Improve mistyped docblock attribute warning messages
2024-09-28 18:38:11 +02:00
Guillaume Gomez
58327c10c5
Add a test for a codeblock with multiple invalid attributes
2023-12-12 19:41:09 +01:00
Guillaume Gomez
bb0fd665a8
Follow guidelines for lint suggestions
2023-12-12 15:43:20 +01:00
Guillaume Gomez
98aa20b0a7
Add test for rustX
codeblock attribute
2023-12-12 15:42:49 +01:00
jyn
5da288f842
move lint tests into subdirectories
2023-04-29 11:36:19 -05:00