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/specialization | |
| 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/specialization')
| -rw-r--r-- | tests/ui/specialization/min_specialization/issue-79224.stderr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/ui/specialization/min_specialization/issue-79224.stderr b/tests/ui/specialization/min_specialization/issue-79224.stderr index 84e526f4597..2b8169af6a2 100644 --- a/tests/ui/specialization/min_specialization/issue-79224.stderr +++ b/tests/ui/specialization/min_specialization/issue-79224.stderr @@ -39,10 +39,7 @@ error[E0277]: the trait bound `B: Clone` is not satisfied | LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ______________________________________________________________^ -LL | | -LL | | -LL | | -LL | | write!(f, "foo") +... | LL | | } | |_____^ the trait `Clone` is not implemented for `B` | |
