Open FaultyRAM opened 6 years ago
I'm currently working on tool_lints
(rust-lang/rust#44690), which will allow to just write #![forbid(clippy::print_literal)]
. This should solve this problem.
@flip1995 I noticed this issue has no tags. Does that mean it is not prioritized?
No. Not all issues fit cleanly in the labeled buckets.
This in particular is something that would require https://github.com/rust-lang/rust-clippy/issues/3837 to be finished
cargo clippy
doesn't do any extra handling of build scripts beyond whatcargo check
does. For example, this code will trigger anunknown_lints
warning when usingcargo clippy
:Built-in lints still work; adding a
#![forbid(missing_docs)]
to the above snippet fails the build as expected. clippy-as-a-plugin also works:I'm not actually sure whether clippy or cargo is at fault here, but since the plugin interface is about to go I figured it might be more prudent to report here first.