about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-14 03:54:31 +0100
committerGitHub <noreply@github.com>2024-12-14 03:54:31 +0100
commit2846699366ac9eac997c037a8552b994daddf8bf (patch)
treecb61ff2f2869f8570079a90e9ebc0aef4e0db3bf /compiler/rustc_driver_impl/src
parent4a204bebdfd5cbc3e7edabf41cda3c3ff8b74917 (diff)
parent9f1044ef76de2ae88ac5c38a27b2bd49f5507d94 (diff)
downloadrust-2846699366ac9eac997c037a8552b994daddf8bf.tar.gz
rust-2846699366ac9eac997c037a8552b994daddf8bf.zip
Rollup merge of #134181 - estebank:trim-render, r=oli-obk
Tweak multispan rendering to reduce output length

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. We do that check not only on the first 4 lines of the multispan, but now also on the previous to last line as well.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions