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

Rustup #5891

Merged
merged 22 commits into from
Aug 11, 2020
Merged

Rustup #5891

merged 22 commits into from
Aug 11, 2020

Conversation

flip1995
Copy link
Member

r? @ghost

Sync back rust-lang/rust#75098

changelog: none

Ryan1729 and others added 21 commits August 6, 2020 04:24
…R_CASTS handling after the match

The reason I did this in the first place was to try and figure out why I don't see my expected 7 error messages
This seemed to overdo it a bit, affecting multiple submodules, and changing a file I didn't touch, so I didn't commit those changes
…, r=oli-obk

Clippy pointer cast lint experiment

This PR is an experiment about exposing more parts of `rustc_typeck` for use in `clippy`. In particular, the code that checks where a cast is valid or not was exposed, which necessitated exposing [`FnCtxt`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/check/struct.FnCtxt.html), and figuring out how to create an instance of that type inside `clippy`.

This was prompted by [this clippy issue](rust-lang#2064).

r? @oli-obk
@flip1995
Copy link
Member Author

I already reviewed these changes in the linked rust PR.

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Aug 11, 2020

📌 Commit 9311c11 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Aug 11, 2020

⌛ Testing commit 9311c11 with merge 09bd400...

@bors
Copy link
Contributor

bors commented Aug 11, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 09bd400 to master...

@bors bors merged commit 09bd400 into rust-lang:master Aug 11, 2020
@flip1995 flip1995 deleted the rustup branch August 11, 2020 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants