1 error: attempt to shift left with overflow
2 --> $DIR/lint-exceeding-bitshifts2.rs:17:15
4 LL | let n = 1u8 << (4+4); //~ ERROR: attempt to shift left with overflow
7 note: lint level defined here
8 --> $DIR/lint-exceeding-bitshifts2.rs:11:9
10 LL | #![deny(exceeding_bitshifts, const_err)]
13 error: attempt to shift left with overflow
14 --> $DIR/lint-exceeding-bitshifts2.rs:25:15
16 LL | let n = 1_isize << BITS; //~ ERROR: attempt to shift left with overflow
19 error: attempt to shift left with overflow
20 --> $DIR/lint-exceeding-bitshifts2.rs:26:15
22 LL | let n = 1_usize << BITS; //~ ERROR: attempt to shift left with overflow
25 error: aborting due to 3 previous errors