mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

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.
12 lines
200 B
Plaintext
12 lines
200 B
Plaintext
error: `S` does not live long enough
|
|
--> $DIR/snocat-regression.rs:7:5
|
|
|
|
|
LL | / || {
|
|
... |
|
|
LL | | let _x = link;
|
|
LL | | };
|
|
| |_____^
|
|
|
|
error: aborting due to 1 previous error
|
|
|