Closed acidnik closed 5 months ago
:wave: Could you share more context? Maybe a repro if you can?
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?
You will the configuration sub-keys under the key rust-analyzer.check
I have a line in my
main.rs
:#![allow(clippy::redundant_field_names)]
This way, when I runcargo 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?