-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-cache-messagesArea: caching of compiler messagesArea: caching of compiler messagesC-bugCategory: bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
I ran this command:
cargo check --message-format short
On previous versions, this outputted one error per line.
Instead now, it outputs the same as --message-format human
.
However, cargo build --message-format short
outputs as expected.
EDIT
Seems like it's also an issue with cargo build
. I played around with it, this is how to reproduce:
- Save your
main.rs
file - try
check
orbuild
with--message-format human
- works as expected - try
--message-format short
- still displayshuman
- re-save
main.rs
- try
--message-format short
- works as expected - try
--message-format human
- still displaysshort
Meta
rustc --version --verbose
:
rustc 1.48.0 (7eac88abb 2020-11-16)
binary: rustc
commit-hash: 7eac88abb2e57e752f3302f02be5f3ce3d7adfb4
commit-date: 2020-11-16
host: x86_64-unknown-linux-gnu
release: 1.48.0
LLVM version: 11.0
cargo --version --verbose
:
cargo 1.48.0 (65cbdd2dc 2020-10-14)
release: 1.48.0
commit-hash: 65cbdd2dc0b7e877577474b98b7d071308d0bb6f
commit-date: 2020-10-14
rockerhieu and J-ZhengLi
Metadata
Metadata
Assignees
Labels
A-cache-messagesArea: caching of compiler messagesArea: caching of compiler messagesC-bugCategory: bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.