作者:空灵一_一_379 | 来源:互联网 | 2023-10-12 14:09
There is no way to see the status of all lints right now. (allow, warn, deny, disabled?)
I was getting more warnings in the unix CI than in my unix VM.
Later I found the cause was not using
in the VM command.
I didn't expect it to change the lints, only my code, and debugging this was terrible because I can't see the status of the lints.
The output could be in
format with everything explicit. (serialize to toml)
This would facilitate the creation of that file since there would be a clear reference.
该提问来源于开源项目:rust-lang/rust-clippy
seems to run
, so it takes a while on a first build and, of course, it requires a project. Would it be possible to print the available lints and quit, similar to
?
Context: in
we'd like to offer code completions for the various lints, but the only way to get them is to download http://rust-lang.github.io/rust-clippy/master/lints.json.