Skip to content

Remove the typeck MIR pass #60422

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

Closed
matthewjasper opened this issue Apr 30, 2019 · 0 comments · Fixed by #60516
Closed

Remove the typeck MIR pass #60422

matthewjasper opened this issue Apr 30, 2019 · 0 comments · Fixed by #60516
Labels
A-NLL Area: Non-lexical lifetimes (NLL) C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthewjasper
Copy link
Contributor

This is now always run as part of NLL, so the pass is unnecessary

  • Remove rustc_mir::borrow_check::nll::type_check::TypeckMir
  • Remove the Options from TypeChecker
  • Fix any fall out
@matthewjasper matthewjasper added C-cleanup Category: PRs that clean code up or issues documenting cleanup. A-NLL Area: Non-lexical lifetimes (NLL) labels Apr 30, 2019
@matthewjasper matthewjasper changed the title Reomve the typeck MIR pass Remove the typeck MIR pass Apr 30, 2019
@jonas-schievink jonas-schievink added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 30, 2019
Centril added a commit to Centril/rust that referenced this issue May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-NLL Area: Non-lexical lifetimes (NLL) C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants