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

Remove a couple MIR usages #6852

Merged
merged 3 commits into from
Mar 5, 2021
Merged

Remove a couple MIR usages #6852

merged 3 commits into from
Mar 5, 2021

Conversation

camsteffen
Copy link
Contributor

changelog: none

We use MIR to get the return type of a closure/function in a couple places. But typeck seems like a better approach.

This is the easy part of #6080.

Also did a tiny cleanup with typeck -> typeck_body.

@rust-highfive
Copy link

r? @Manishearth

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 5, 2021
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 5, 2021

📌 Commit 5abd8c5 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Mar 5, 2021

⌛ Testing commit 5abd8c5 with merge 54def1e...

@bors
Copy link
Contributor

bors commented Mar 5, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing 54def1e to master...

@bors bors merged commit 54def1e into rust-lang:master Mar 5, 2021
@camsteffen camsteffen deleted the avoid-mir branch March 6, 2021 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants