-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
disable/filter cargo check diagnostics #14798
Comments
Doesn't disabling "check on save" work for you? |
No, that doesn't sound like what I want. I just want to disable a subset of them in my editor. |
Ah I see. I think it make sense to make it upstream, but under a separate config (so that ignoring, for example |
adamse
added a commit
to adamse/rust-analyzer
that referenced
this issue
Jul 11, 2023
…, unused_imports, ...) fixes rust-lang#14798
adamse
added a commit
to adamse/rust-analyzer
that referenced
this issue
Jul 11, 2023
…, unused_imports, ...) fixes rust-lang#14798
adamse
added a commit
to adamse/rust-analyzer
that referenced
this issue
Jul 11, 2023
…, unused_imports, ...) fixes rust-lang#14798
adamse
added a commit
to adamse/rust-analyzer
that referenced
this issue
Jul 11, 2023
…, unused_imports, ...) fixes rust-lang#14798
adamse
added a commit
to adamse/rust-analyzer
that referenced
this issue
Aug 8, 2023
…, unused_imports, ...) fixes rust-lang#14798
bors
added a commit
that referenced
this issue
Aug 8, 2023
add check.ignore to list cargo check diagnostics to ignore (dead_code, unused_imports, ...) fixes #14798
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
unused_code
diagnostic drives me crazy when writing something new, too many useless annotations.I made a patch to filter
cargo check
diagnostics here: adamse@42a52ce(I've extended the existing
rust-analyzer.diagnostics.disabled
setting to also apply tocargo check
.)If the project is interested in this feature I would be happy to upstream it.
The text was updated successfully, but these errors were encountered: