Skip to content

Don't emit explain with json short messages. - #64753

Merged
bors merged 1 commit into
rust-lang:masterfrom
ehuss:json-short-explain
Sep 25, 2019
Merged

Don't emit explain with json short messages.#64753
bors merged 1 commit into
rust-lang:masterfrom
ehuss:json-short-explain

Conversation

@ehuss

Copy link
Copy Markdown
Contributor

This fixes an issue where --error-format=json --json=diagnostic-short would emit the "For more information about this error" message, which doesn't match the behavior of --error-format=short which explicitly excludes it.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @petrochenkov

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 25, 2019
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Sep 25, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 6d07874 has been approved by Mark-Simulacrum

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 25, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 25, 2019
…mulacrum
Don't emit explain with json short messages.
This fixes an issue where `--error-format=json --json=diagnostic-short` would emit the "For more information about this error" message, which doesn't match the behavior of `--error-format=short` which explicitly excludes it.
@CentrilCentril mentioned this pull request Sep 25, 2019
bors added a commit that referenced this pull request Sep 25, 2019
Rollup of 7 pull requests
Successful merges:
- #64324 (rustc: Fix mixing crates with different `share_generics`)
- #64428 (Error explanation e0524)
- #64481 (A more explanatory thread local storage panic message)
- #64599 (Rustdoc render async function re-export)
- #64743 (Update cargo)
- #64746 (Remove blanket silencing of "type annotation needed" errors)
- #64753 (Don't emit explain with json short messages.)
Failed merges:
r? @ghost
@bors
bors merged commit 6d07874 into rust-lang:masterSep 25, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ehuss@rust-highfive@Mark-Simulacrum@bors@petrochenkov