Skip to content

Rust analyzer does not respects project-level clippy directives? #16419

Closed
@acidnik

Description

@acidnik

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?

Metadata

Metadata

Assignees

Labels

C-supportCategory: support questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions