-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak UI for warnings and errors #2480
Conversation
r? @wycats (rust_highfive has picked a reviewer for you, use r? to override) |
r? @brson |
@bors r+ |
📌 Commit 30a7b88 has been approved by |
⌛ Testing commit 30a7b88 with merge 4d65c9b... |
💔 Test failed - cargo-linux-64 |
@bors: r+ |
📌 Commit 4dad102 has been approved by |
⌛ Testing commit 4dad102 with merge 2744e0c... |
💔 Test failed - cargo-mac-32 |
25b5375
to
c14da2f
Compare
@bors: r=brson |
📌 Commit c14da2f has been approved by |
⌛ Testing commit c14da2f with merge 3569903... |
Right now Cargo prints out errors justified like all other status messages, but this can look odd without coloration: ``` error some error message ``` Instead, this commit changes both warnings and errors to use the same style of: ``` error: some error message warning: some warning message ``` Additionally, warnings now only print out "warning" in yellow instead of the entire message (like errors do)
@bors: r+ |
📌 Commit 8b35fbd has been approved by |
Tweak UI for warnings and errors Right now Cargo prints out errors justified like all other status messages, but this can look odd without coloration: ``` error some error message ``` Instead, this commit changes both warnings and errors to use the same style of: ``` error: some error message warning: some warning message ``` Additionally, warnings now only print out "warning" in yellow instead of the entire message (like errors do)
☀️ Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64 |
Right now Cargo prints out errors justified like all other status messages, but
this can look odd without coloration:
Instead, this commit changes both warnings and errors to use the same style of:
Additionally, warnings now only print out "warning" in yellow instead of the
entire message (like errors do)