Skip to content

Commit 5db8381

Browse files
committed
auto merge of #18872 : hirschenberger/rust/master, r=thestinger
Discussed in #18587
2 parents e2cd476 + 7dab903 commit 5db8381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ declare_lint!(UNUSED_COMPARISONS, Warn,
115115
declare_lint!(OVERFLOWING_LITERALS, Warn,
116116
"literal out of range for its type")
117117

118-
declare_lint!(EXCEEDING_BITSHIFTS, Allow,
118+
declare_lint!(EXCEEDING_BITSHIFTS, Deny,
119119
"shift exceeds the type's number of bits")
120120

121121
pub struct TypeLimits {

0 commit comments

Comments
 (0)