File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
tests/ui/diagnostic-flags Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ //! Check that compile errors are formatted in the "short" style
2+ //! when `--error-format=short` is used.
3+
14//@ compile-flags: --error-format=short
25
36fn foo ( _: u32 ) { }
Original file line number Diff line number Diff line change 1- $DIR/short- error-format.rs:6 :9: error[E0308]: mismatched types: expected `u32`, found `String`
2- $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`
1+ $DIR/error-format-short .rs:8 :9: error[E0308]: mismatched types: expected `u32`, found `String`
2+ $DIR/error-format-short .rs:10 :7: error[E0599]: no method named `salut` found for type `u32` in the current scope: method not found in `u32`
33error: aborting due to 2 previous errors
You can’t perform that action at this time.
0 commit comments