1 error: attempt to add with overflow
2 --> $DIR/const-eval-overflow-3.rs:30:11
4 LL | = [0; (i8::MAX + 1) as usize];
7 = note: #[deny(const_err)] on by default
9 error[E0080]: could not evaluate repeat length
10 --> $DIR/const-eval-overflow-3.rs:30:11
12 LL | = [0; (i8::MAX + 1) 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`.