Skip to content

Commit ea3eee0

Browse files
committed
Auto merge of #969 - RalfJung:rustup, r=RalfJung
fix test failure from diagnostics change @oli-obk looks like with some recent change, the error about the shift now needs `const_err` instead of `exceeding_bitshifts` to be silenced?
2 parents b625812 + 8ecd767 commit ea3eee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
084beb83e0e87d673d5fabc844d28e8e8ae2ab4c
1+
488381ce9ef0ceabe83b73127c659e5d38137df0

tests/compile-fail/overflowing-rsh-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(exceeding_bitshifts)]
1+
#![allow(exceeding_bitshifts, const_err)]
22

33
fn main() {
44
let _n = 1i64 >> 64; //~ ERROR attempt to shift right with overflow

0 commit comments

Comments
 (0)