From 768caf1083f916f47cfa2aaa2134083e572ef8b1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 3 Nov 2014 14:34:14 -0800 Subject: [PATCH] rustc: Set the exceeding_bitshifts lint to Allow There's currently a bug in it which fires erroneously on cross compiles, preventing new nightlies from being generated. This can be reset back to Deny once it's been fixed. cc #18587 --- src/librustc/lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 76ef6206d6416..56c89b75cd030 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 {