about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFalco Hirschenberger <falco.hirschenberger@gmail.com>2014-11-11 10:41:53 +0100
committerFalco Hirschenberger <falco.hirschenberger@gmail.com>2014-11-11 10:41:53 +0100
commit7dab9037257f9ccdce58d5e7c8ecfc7932355b09 (patch)
tree21c69d84b8d3a1323bdd0462edb52cdf61d45548
parentd962fb0ec82fe38b4a8915774f823e7802823b42 (diff)
downloadrust-7dab9037257f9ccdce58d5e7c8ecfc7932355b09.tar.gz
rust-7dab9037257f9ccdce58d5e7c8ecfc7932355b09.zip
Set exceeding bitshifts lint to deny
Discussed in #18587
-rw-r--r--src/librustc/lint/builtin.rs2
1 files changed, 1 insertions, 1 deletions
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 {