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
struct Test { #[cfg(feature = "hello")] test: u32, other: u32 } fn main() { let a = Test { #[cfg(feature = "hello")] test: 1, other: 1 }; let Test { #[cfg(feature = "hello")] test, mut other, .. } = a; other += 1; }
rust-analyzer reports E0559 in deconstruction in the snippet above.
rust-analyzer version: 0.3.1774-standalone
rustc version: 1.74.1 (a28077b28 2023-12-04)
relevant settings: N/A
The text was updated successfully, but these errors were encountered:
@rustbot claim
Sorry, something went wrong.
7219414
Young-Flash
Successfully merging a pull request may close this issue.
rust-analyzer reports E0559 in deconstruction in the snippet above.
rust-analyzer version: 0.3.1774-standalone
rustc version: 1.74.1 (a28077b28 2023-12-04)
relevant settings: N/A
The text was updated successfully, but these errors were encountered: