fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: evaluation of `test::<0>::{constant#0}` failed 2 --> $DIR/simple_fail.rs:9:10 3 | 4LL | [u8; N - 1]: Sized, 5 | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow 6 7error[E0080]: evaluation of `Arr::<0>::{constant#0}` failed 8 --> $DIR/simple_fail.rs:4:33 9 | 10LL | type Arr<const N: usize> = [u8; N - 1]; 11 | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0080`.