We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dcb288 commit 2c9c70fCopy full SHA for 2c9c70f
src/librustc/lint/builtin.rs
@@ -206,7 +206,7 @@ declare_lint! {
206
207
declare_lint! {
208
pub EXTRA_REQUIREMENT_IN_IMPL,
209
- Warn,
+ Deny,
210
"detects extra requirements in impls that were erroneously allowed"
211
}
212
src/test/compile-fail/issue-18937.rs
@@ -10,8 +10,6 @@
10
11
// Regression test for #18937.
12
13
-#![deny(extra_requirement_in_impl)]
14
-
15
use std::fmt;
16
17
#[derive(Debug)]
0 commit comments