1 error: attempt to add with overflow
2 --> $DIR/const-eval-overflow-4.rs:23:13
4 LL | : [u32; (i8::MAX as i8 + 1i8) as usize]
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: #[deny(const_err)] on by default
9 error[E0080]: could not evaluate constant expression
10 --> $DIR/const-eval-overflow-4.rs:23:7
12 LL | : [u32; (i8::MAX as i8 + 1i8) as usize]
13 | ^^^^^^---------------------^^^^^^^^^^
15 | attempt to add with overflow
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0080`.