Skip to content

Re-use TypeChecker instead of passing around some of its fields - #89675

Merged
bors merged 2 commits into
rust-lang:masterfrom
oli-obk:type_checker
Oct 12, 2021
Merged

Re-use TypeChecker instead of passing around some of its fields #89675
bors merged 2 commits into
rust-lang:masterfrom
oli-obk:type_checker

Conversation

@oli-obk

Copy link
Copy Markdown
Contributor

In the future (for lazy TAIT) we will need more of its fields, but even ignoring that, this change seems reasonable on its own to me.

@oli-obkoli-obk added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Oct 8, 2021
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @davidtwco

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 8, 2021

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Oct 11, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 49b06a2 has been approved by davidtwco

@borsbors 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 Oct 11, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 11, 2021
Re-use TypeChecker instead of passing around some of its fields
In the future (for lazy TAIT) we will need more of its fields, but even ignoring that, this change seems reasonable on its own to me.
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 12, 2021
…askrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#89471 (Use Ancestory to check default fn in const impl instead of comparing idents)
- rust-lang#89643 (Fix inherent impl overlap check.)
- rust-lang#89651 (Add `Poll::ready` and revert stabilization of `task::ready!`)
- rust-lang#89675 (Re-use TypeChecker instead of passing around some of its fields )
- rust-lang#89710 (Add long explanation for error E0482)
- rust-lang#89756 (Greatly reduce amount of debuginfo compiled for bootstrap itself)
- rust-lang#89760 (Remove hack ignoring unused attributes for stage 0 std)
- rust-lang#89772 (Fix function-names test for GDB 10.1)
- rust-lang#89785 (Fix ICE when compiling nightly std/rustc on beta compiler)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit fde2412 into rust-lang:masterOct 12, 2021
@rustbotrustbot added this to the 1.57.0 milestone Oct 12, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.S-waiting-on-borsStatus: 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

@oli-obk@rust-highfive@davidtwco@bors@rustbot