-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
NLL migrate mode: issues two errors for single move out of borrow #55310
Comments
(This is obviously one particular instance of #53004) |
I think this test: rust/src/test/ui/by-move-pattern-binding.nll.stderr Lines 1 to 28 in f99911a
is another instance of this. (But when/if we resolve this, one should double check that claim.) |
This is probably fixed by PR #55221 |
On current stable and nightly, the code only outputs one diagnostic now (migrate mode is on by default, right?). |
Yes, this is fixed. |
This code (play):
issues the following diagnostics under migrate mode:
It issues only a single error under either of AST-borrowck or pure NLL.
The text was updated successfully, but these errors were encountered: