-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
librustc error_reporting.rs cleanup. #39977
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @arielb1 (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
c63f833
to
a754ea6
Compare
I'm not sure on the style changes. I know there's a style team but I can't figure out how to ping them. |
@eddyb My approach to style in the rust repo is generally "I'm not going to worry about minor inconsistencies now because we're going to automate it all with rustfmt later".
You can't ping us here becase we're under the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit-by-commit makes a lot more sense!
err: &mut DiagnosticBuilder) | ||
{ | ||
let simp = fast_reject::simplify_type(self.tcx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was all of this duplicated from find_similar_impl_candidates
? 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeeeppppppp
@bors r+ |
📌 Commit a754ea6 has been approved by |
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
⌛ Testing commit a754ea6 with merge 8b55091... |
💔 Test failed - status-travis |
@bors: retry
* network error
…On Sat, Feb 25, 2017 at 10:20 PM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/205432692>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#39977 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95Dhjbnzj26xReTLrbRpuOyPPT1Q-ks5rgP17gaJpZM4MGQiU>
.
|
@bors: retry
* network failure
…On Sat, Feb 25, 2017 at 10:50 PM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/205435348>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#39977 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95AaWtyzoJFShI4TeMk2IRteiAnDKks5rgQSBgaJpZM4MGQiU>
.
|
@bors retry |
⌛ Testing commit a754ea6 with merge 57bd173... |
💔 Test failed - status-travis |
… On Mon, Feb 27, 2017 at 3:42 PM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/205942464>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#39977 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95NEgLXanb54LFW_vj8xLNklff0Tpks5rg0M2gaJpZM4MGQiU>
.
|
⌛ Testing commit a754ea6 with merge 80a738a... |
💔 Test failed - status-appveyor |
… On Mon, Feb 27, 2017 at 6:14 PM, bors ***@***.***> wrote:
💔 Test failed - status-appveyor
<https://ci.appveyor.com/project/rust-lang/rust/build/1.0.2147>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#39977 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95NOCSlfvI9gfXx9dwjWMCyPOBAoCks5rg2bWgaJpZM4MGQiU>
.
|
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
…=eddyb librustc error_reporting.rs cleanup. Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the [whitespace insensitive diff](https://github.com/rust-lang/rust/pull/39977/files?w=1).
⌛ Testing commit a754ea6 with merge 2eae5e6... |
@bors retry |
Read some code in librustc, mainly in error_reporting.rs, and cleaned up some things along the way. I recommend looking at each commit individually or looking at the whitespace insensitive diff.