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.
This commit is contained in:
parent
21fe748be1
commit
65a54a7f27
111 changed files with 206 additions and 653 deletions
|
@ -2,9 +2,6 @@ error: unclosed quote string `"`
|
|||
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
||||
|
|
||||
LL | / /// ```{class="}
|
||||
LL | | /// main;
|
||||
LL | | /// ```
|
||||
LL | |
|
||||
... |
|
||||
LL | | /// main;
|
||||
LL | | /// ```
|
||||
|
@ -21,9 +18,6 @@ error: unclosed quote string `"`
|
|||
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
||||
|
|
||||
LL | / /// ```{class="}
|
||||
LL | | /// main;
|
||||
LL | | /// ```
|
||||
LL | |
|
||||
... |
|
||||
LL | | /// main;
|
||||
LL | | /// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue