Skip to content

Commit

Permalink
Set exceeding bitshifts lint to deny
Browse files Browse the repository at this point in the history
Discussed in rust-lang#18587
  • Loading branch information
hirschenberger committed Nov 11, 2014
1 parent d962fb0 commit 7dab903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

1 comment on commit 7dab903

@thestinger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.