Skip to content

Do not capture stderr in the compiler. Instead just panic silently for fatal errors #47634

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 26, 2018

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Jan 21, 2018

This also has the side-effect of making printing to stderr work in the compiler.

@rust-highfive
Copy link
Contributor

r? @pnkfelix

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

@kennytm kennytm added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 21, 2018
@devurandom
Copy link
Contributor

devurandom commented Jan 21, 2018

This might somewhat fix #43855 and #44244.
#44305 might be somewhat related.

@Zoxc
Copy link
Contributor Author

Zoxc commented Jan 24, 2018

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Collaborator

bors commented Jan 24, 2018

📌 Commit 124605a has been approved by alexcrichton

@Zoxc
Copy link
Contributor Author

Zoxc commented Jan 26, 2018

@bors r=alexcrichton

@bors
Copy link
Collaborator

bors commented Jan 26, 2018

📌 Commit 9a8d6b8 has been approved by alexcrichton

@bors bors merged commit 9a8d6b8 into rust-lang:master Jan 26, 2018
@dtolnay
Copy link
Member

dtolnay commented Jan 27, 2018

Is there a chance that this PR would have changed the error message when a custom derive panics? #47812

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants