diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 6f1287014d7..56e639387f8 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -116,7 +116,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 {