diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 76ef6206d64..56c89b75cd0 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, Deny, +declare_lint!(EXCEEDING_BITSHIFTS, Allow, "shift exceeds the type's number of bits") pub struct TypeLimits {