1 error[E0080]: evaluation of `test::<0_usize>::{constant#0}` failed
2 --> $DIR/simple_fail.rs:7:48
4 LL | fn test<const N: usize>() -> Arr<N> where [u8; N - 1]: Sized {
5 | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
7 error[E0080]: evaluation of `Arr::<0_usize>::{constant#0}` failed
8 --> $DIR/simple_fail.rs:4:33
10 LL | type Arr<const N: usize> = [u8; N - 1];
11 | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0080`.