diff options
| author | Falco Hirschenberger <falco.hirschenberger@gmail.com> | 2014-11-11 10:41:53 +0100 |
|---|---|---|
| committer | Falco Hirschenberger <falco.hirschenberger@gmail.com> | 2014-11-11 10:41:53 +0100 |
| commit | 7dab9037257f9ccdce58d5e7c8ecfc7932355b09 (patch) | |
| tree | 21c69d84b8d3a1323bdd0462edb52cdf61d45548 | |
| parent | d962fb0ec82fe38b4a8915774f823e7802823b42 (diff) | |
| download | rust-7dab9037257f9ccdce58d5e7c8ecfc7932355b09.tar.gz rust-7dab9037257f9ccdce58d5e7c8ecfc7932355b09.zip | |
Set exceeding bitshifts lint to deny
Discussed in #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 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 { |
