Set exceeding bitshifts lint to deny

Discussed in #18587
This commit is contained in:
Falco Hirschenberger 2014-11-11 10:41:53 +01:00
parent d962fb0ec8
commit 7dab903725

View File

@ -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 {