-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Incorrect 'cannot bind by-move with sub-bindings` error #3761
Labels
A-lifetimes
Area: Lifetimes / regions
Comments
Still a problem, but I don't think this is a backwards compatibility issue. |
Minimal test case:
|
accepted for feature complete milestone |
Triage visit; will be fixed when #8508 lands. |
huonw
added a commit
to huonw/rust
that referenced
this issue
Aug 14, 2013
…indings. A pattern like `foo @ Foo(Bar(*), _)` should be legal, even if `foo` moves, since the subpatterns are purely structural. Fixes rust-lang#3761.
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There aren't any sub-bindings there.
The text was updated successfully, but these errors were encountered: