-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-clippyArea: ClippyArea: ClippyA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.L-dead_codeLint: dead_codeLint: dead_code
Description
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.
Metadata
Metadata
Assignees
Labels
A-clippyArea: ClippyArea: ClippyA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.L-dead_codeLint: dead_codeLint: dead_code