Skip to content
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

expose suggestions::InferCtxtExt for clippy #70821

Merged
merged 2 commits into from
Apr 7, 2020

Conversation

rkuhn
Copy link
Contributor

@rkuhn rkuhn commented Apr 5, 2020

This is very useful to do good async/await diagnostic reporting, for example for rust-lang/rust-clippy#5423.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @varkor (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.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 5, 2020
@varkor
Copy link
Member

varkor commented Apr 6, 2020

This looks fine to me, but I'll pass on to the reviewer of rust-lang/rust-clippy#5423 to make sure this is the right change (e.g. note_obligation_cause is available on InferCtxtPrivExt rather than InferCtxtExt).

r? @eddyb

@rust-highfive rust-highfive assigned eddyb and unassigned varkor Apr 6, 2020
@eddyb
Copy link
Member

eddyb commented Apr 6, 2020

LGTM with @varkor's nit fixed.

…s.rs

Co-Authored-By: varkor <github@varkor.com>
@rkuhn
Copy link
Contributor Author

rkuhn commented Apr 6, 2020

Thanks guys!

@eddyb
Copy link
Member

eddyb commented Apr 6, 2020

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Apr 6, 2020

📌 Commit 57a6b7b has been approved by eddyb

@bors bors 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 Apr 6, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 6, 2020
…xt, r=eddyb

expose suggestions::InferCtxtExt for clippy

This is very useful to do good async/await diagnostic reporting, for example for rust-lang/rust-clippy#5423.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 6, 2020
…xt, r=eddyb

expose suggestions::InferCtxtExt for clippy

This is very useful to do good async/await diagnostic reporting, for example for rust-lang/rust-clippy#5423.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 6, 2020
…xt, r=eddyb

expose suggestions::InferCtxtExt for clippy

This is very useful to do good async/await diagnostic reporting, for example for rust-lang/rust-clippy#5423.
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 7, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#70612 (Add io::Write::write_all_vectored)
 - rust-lang#70690 (Clean up E0501 explanation)
 - rust-lang#70821 (expose suggestions::InferCtxtExt for clippy)
 - rust-lang#70839 (clean up E0506 explanation)
 - rust-lang#70859 (Move sanitize-inline-always test to sanitize directory)

Failed merges:

r? @ghost
@bors bors merged commit 728136c into rust-lang:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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