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
rust-analyzer version: Introduced in #16789
rustc version: 1.76
code snippet to reproduce:
#[derive(serde::Deserialize) pub struct Example { #[cfg_attr(feature = "serde", cfg_attr(feature = "with-defaults", serde(default)))] item: u8 }
The cfg stripping code only goes one deep. So if the inner attribute for cfg_attr is an cfg_attr that is passed along.
The text was updated successfully, but these errors were encountered:
I can tackle this within the next week.
@rustbot claim
Sorry, something went wrong.
wyatt-herkamp
No branches or pull requests
rust-analyzer version: Introduced in #16789
rustc version: 1.76
code snippet to reproduce:
The cfg stripping code only goes one deep. So if the inner attribute for cfg_attr is an cfg_attr that is passed along.
The text was updated successfully, but these errors were encountered: