blob: 104cab8667c70623d34e10a1cabb1559669186ea [file] [log] [blame]
error[E0080]: evaluation of constant value failed
--> $DIR/simple_fail.rs:7:33
|
LL | type Arr<const N: usize> = [u8; N - 1];
| ^^^^^ attempt to compute `0_usize - 1_usize` which would overflow
error: aborting due to previous error
For more information about this error, try `rustc --explain E0080`.