if i, for example, forbid dead_code, clippy produces
error[E0453]: allow(dead_code) incompatible with previous forbid
|
| #[derive(Parser, Debug, Clone)]
| ^^^^^^ overruled by previous forbid
|
= note: `forbid` lint level was set on command line
= note: this error originates in the derive macro `Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
this is coming from clap's Parser derive macro, which i have no control over, so prevents me from forbidding dead_code in my own crate.
if i, for example, forbid
dead_code
, clippy producesthis is coming from
clap
'sParser
derive macro, which i have no control over, so prevents me from forbiddingdead_code
in my own crate.