diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-12-11 21:17:33 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-12 23:36:27 +0000 |
| commit | 65a54a7f277b30ebeeacb5b303804fa8ffb5c922 (patch) | |
| tree | 374a7656c18bb7f9ed9846a5bda585b8b5860530 /tests/ui/coercion | |
| parent | 21fe748be15271ea5804e0507cd699b675efe038 (diff) | |
| download | rust-65a54a7f277b30ebeeacb5b303804fa8ffb5c922.tar.gz rust-65a54a7f277b30ebeeacb5b303804fa8ffb5c922.zip | |
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.
Diffstat (limited to 'tests/ui/coercion')
| -rw-r--r-- | tests/ui/coercion/coerce-loop-issue-122561.stderr | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/coercion/coerce-loop-issue-122561.stderr b/tests/ui/coercion/coerce-loop-issue-122561.stderr index 90e9f41c291..3af7e7cddb3 100644 --- a/tests/ui/coercion/coerce-loop-issue-122561.stderr +++ b/tests/ui/coercion/coerce-loop-issue-122561.stderr @@ -189,8 +189,7 @@ error[E0308]: mismatched types LL | fn while_never_type() -> ! { | - expected `!` because of return type LL | / while true { -LL | | -LL | | +... | LL | | } | |_____^ expected `!`, found `()` | |
