diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 3026e047626a8..20047fd61163b 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -115,7 +115,7 @@ declare_lint!(UNUSED_COMPARISONS, Warn, declare_lint!(OVERFLOWING_LITERALS, Warn, "literal out of range for its type") -declare_lint!(EXCEEDING_BITSHIFTS, Allow, +declare_lint!(EXCEEDING_BITSHIFTS, Deny, "shift exceeds the type's number of bits") pub struct TypeLimits {