mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
1bbaf6eb2f
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.
4 lines
275 B
Plaintext
4 lines
275 B
Plaintext
$DIR/short-error-format.rs:6:9: error[E0308]: mismatched types: expected `u32`, found `String`
|
|
$DIR/short-error-format.rs:8:7: error[E0599]: no method named `salut` found for type `u32` in the current scope: method not found in `u32`
|
|
error: aborting due to 2 previous errors
|