Skip to content

Remove workaround for borrowck bug in borrowck::loan::loan #4945

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
catamorphism opened this issue Feb 15, 2013 · 1 comment
Closed

Remove workaround for borrowck bug in borrowck::loan::loan #4945

catamorphism opened this issue Feb 15, 2013 · 1 comment
Labels
A-lifetimes Area: Lifetimes / regions C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@catamorphism
Copy link
Contributor

The comment didn't say what bug the workaround was working around or what to do to remove it.

@alexcrichton
Copy link
Member

Since #6286, I don't think that this is relevant any more. Namely the rustc::middle::borrowck::loan module no longer exists.

bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
add `option_as_ref_deref` lint

changelog: add a new lint that lints `option.as_ref().map(Deref::deref)` (and similar calls), which could be expressed more succinctly as `option.as_deref[_mut]()`. Closes rust-lang#4918.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lifetimes Area: Lifetimes / regions C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

2 participants