Cannot add an exception to #[deny(lint group)] with #[warn(specific lint)] #41941
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
Test case:
Expected result: compiles with a warning.
Actual result with rustc 1.19.0-nightly (978d2cf 2017-05-10): hard error:
Note that
allow
can add an exception, but of course it makes the warning not be shown at all:Context: I wanted to use this to unblock compiling Servo without completely hiding the problem under a metaphorical carpet.
The text was updated successfully, but these errors were encountered: