Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # 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