-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #5879 - dwijnand:short-errors, r=alexcrichton
Add support for rustc's --error-format short Running a local build of this branch on some broken code shows this kind of output: 18:42:29 $ dcargo check --message-format=short --tests Checking bufstream v0.1.3 Checking cargo v0.30.0 (file:///d/cargo) tests/testsuite/config.rs:298:9: error[E0308]: mismatched types tests/testsuite/config.rs:307:9: error[E0308]: mismatched types tests/testsuite/config.rs:363:9: error[E0308]: mismatched types tests/testsuite/config.rs:367:9: error[E0308]: mismatched types tests/testsuite/config.rs:371:9: error[E0308]: mismatched types tests/testsuite/config.rs:375:9: error[E0308]: mismatched types tests/testsuite/config.rs:382:9: error[E0308]: mismatched types tests/testsuite/config.rs:386:9: error[E0308]: mismatched types tests/testsuite/config.rs:400:9: error[E0308]: mismatched types tests/testsuite/config.rs:428:9: error[E0308]: mismatched types tests/testsuite/config.rs:479:9: error[E0308]: mismatched types tests/testsuite/config.rs:491:9: error[E0308]: mismatched types tests/testsuite/config.rs:496:9: error[E0308]: mismatched types tests/testsuite/config.rs:501:9: error[E0308]: mismatched types tests/testsuite/config.rs:506:9: error[E0308]: mismatched types tests/testsuite/config.rs:512:9: error[E0308]: mismatched types tests/testsuite/config.rs:582:9: error[E0308]: mismatched types tests/testsuite/config.rs:660:9: error[E0308]: mismatched types tests/testsuite/config.rs:666:9: error[E0308]: mismatched types tests/testsuite/config.rs:672:9: error[E0308]: mismatched types tests/testsuite/config.rs:678:9: error[E0308]: mismatched types error: aborting due to 21 previous errors error: Could not compile `cargo`. warning: build failed, waiting for other jobs to finish... error: build failed Rehash of @QuietMisdreavus' #4720 now that `--short-message` is stable (thanks for the ping @pickfire!). Feedback welcome.
- Loading branch information
Showing
7 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters