]>
Commit | Line | Data |
---|---|---|
17df50a5 | 1 | error[E0080]: evaluation of `test::<0_usize>::{constant#0}` failed |
1b1a35ee XL |
2 | --> $DIR/from-sig-fail.rs:4:35 |
3 | | | |
4 | LL | fn test<const N: usize>() -> [u8; N - 1] { | |
5 | | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow | |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0080`. |