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/alloc-error/alloc-error-handler-bad-signature-1.stderr | |
| 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/alloc-error/alloc-error-handler-bad-signature-1.stderr')
| -rw-r--r-- | tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr index de92841d7f1..80ff10e13d8 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr @@ -7,8 +7,7 @@ LL | // fn oom( LL | || info: &Layout, LL | || ) -> () | ||_______- arguments to this function are incorrect -LL | | { -LL | | loop {} +... | LL | | } | |__^ expected `&Layout`, found `Layout` | @@ -30,8 +29,7 @@ LL | // fn oom( LL | || info: &Layout, LL | || ) -> () | ||_______^ expected `!`, found `()` -LL | | { -LL | | loop {} +... | LL | | } | |__- expected `!` because of return type | |
