about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/generics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-06 07:06:24 +0000
committerbors <bors@rust-lang.org>2024-08-06 07:06:24 +0000
commit93ea767e2928589b74296ba85b57d80e108db712 (patch)
treea6e97311e65b0307c2ffd5846ff977f5a15bea36 /compiler/rustc_middle/src/ty/generics.rs
parent8c7e0e160831866bc1a40691a39455aac21271c0 (diff)
parent1bbaf6eb2f08a4f3d5c442560909f7109b66bf95 (diff)
downloadrust-93ea767e2928589b74296ba85b57d80e108db712.tar.gz
rust-93ea767e2928589b74296ba85b57d80e108db712.zip
Auto merge of #126804 - estebank:short-error-primary-label, r=davidtwco
On short error format, append primary span label to message

The `error-format=short` output only displays the path, error code and main error message all in the same line. We now add the primary span label as well after the error message, to provide more context.
Diffstat (limited to 'compiler/rustc_middle/src/ty/generics.rs')
0 files changed, 0 insertions, 0 deletions