You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a line in my main.rs: #![allow(clippy::redundant_field_names)]
This way, when I run cargo clippy I don't see warnings about redundant field names
But RA shows me the notice anyway, both in neovim and vs code
Is this a bug or a feature? Is there a way to disable some clippy rules for whole project so that RA respects that?
The text was updated successfully, but these errors were encountered:
I believe that the person reported this issue has mistakenly taken a rust-analyzer native lint for one of clippy's own lints, as we also have a redundant_field_name. As such there is nothing wrong with our flycheck. The user may disable native diagnostics by declaring rust-analyzer.diagnostics.disabled.
Is there a way to disable some clippy rules for whole project so that RA respects that?
I have a line in my
main.rs
:#![allow(clippy::redundant_field_names)]
This way, when I run
cargo clippy
I don't see warnings about redundant field namesBut RA shows me the notice anyway, both in neovim and vs code
Is this a bug or a feature? Is there a way to disable some clippy rules for whole project so that RA respects that?
The text was updated successfully, but these errors were encountered: