diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 14:34:14 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 14:34:14 -0800 |
| commit | 768caf1083f916f47cfa2aaa2134083e572ef8b1 (patch) | |
| tree | 88a915ffc77c415df1cc27a4d52ddf6ef89b7822 | |
| parent | 01b81c0ebb45d36198fa8a78dcdcb8144e4bb06c (diff) | |
| download | rust-768caf1083f916f47cfa2aaa2134083e572ef8b1.tar.gz rust-768caf1083f916f47cfa2aaa2134083e572ef8b1.zip | |
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
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
