-
Notifications
You must be signed in to change notification settings - Fork 101
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
Clippy lints not working #112
Comments
Thanks for the bug report! I will make the clippy command a |
And you should consider using a lsp based checker if you are using eglot or lsp-mode. |
How can I do that? |
Are you using eglot or lsp-mode ? |
LSP mode. |
I guess you are using rust-analyzer, so it should be enough to change |
Great! Maybe that should documented on the README? |
|
If you got any issues with the lsp checker please open an issue at lsp-mode. I added a note about the lsp checker in the readme, but I wasn't able to use a defcustom as argument for the checker command. The macro doesn't seem to be able to work with values that come from a variable or you simply have to do it differently, but I couldn't find any checker that uses a variable for the command. Since most users use the lsp based checker, I simply added |
Clippy lints are not working for me because of:
rust-lang/rust-clippy#2604
This is fixed by:
rust-lang/rust-clippy#5363
But only when specifying
-Z unstable-options
withcargo clippy
.At the moment I'm just redefining the flycheck checker
rustic-clippy
, setting the command to:The text was updated successfully, but these errors were encountered: