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 rustc_mir::borrow_check::{Context, ContextKind} #60421

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

Remove rustc_mir::borrow_check::{Context, ContextKind} #60421

matthewjasper opened this issue Apr 30, 2019 · 0 comments · Fixed by #60452
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

ContextKind is completely unused in the borrow checker. It should be removed and any uses of Context should be replaced with rust::mir::Location.

@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
@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 1, 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