Skip to content

Commit 768caf1

Browse files
committed
rustc: Set the exceeding_bitshifts lint to Allow
There's currently a bug in it which fires erroneously on cross compiles, preventing new nightlies from being generated. This can be reset back to Deny once it's been fixed. cc #18587
1 parent 01b81c0 commit 768caf1

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
@@ -116,7 +116,7 @@ declare_lint!(UNUSED_COMPARISONS, Warn,
116116
declare_lint!(OVERFLOWING_LITERALS, Warn,
117117
"literal out of range for its type")
118118

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

122122
pub struct TypeLimits {

0 commit comments

Comments
 (0)