We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
&mut ()
fn main() { let x = (&(&mut (),)).0 as *const (); }
This compiles
The text was updated successfully, but these errors were encountered:
Does this still occur? It seems somehow fixed - rust-analyzer 1.78.0-nightly (3b1717c0 2024-03-10), rust-analyzer 1.76.0 (07dca489 2024-02-04)
rust-analyzer 1.78.0-nightly (3b1717c0 2024-03-10)
rust-analyzer 1.76.0 (07dca489 2024-02-04)
Sorry, something went wrong.
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!
Successfully merging a pull request may close this issue.
This compiles
The text was updated successfully, but these errors were encountered: