-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 move &mut ()
out of reference" error
#16564
Comments
Does this still occur? It seems somehow fixed - |
Still reproduces for me |
Thank you. I'll test again with different settings 🤔 |
Ah you need to enable experimental diagnostics for this one I think https://github.com/veykril/rust-analyzer/blob/0931361b8f6e3d02efb638cd9964c8817f59210a/crates/ide-diagnostics/src/handlers/moved_out_of_ref.rs#L14 |
Oh, didn't know that 😅 Thanks! |
This compiles
The text was updated successfully, but these errors were encountered: