]>
Commit | Line | Data |
---|---|---|
a1dfa0c6 | 1 | error[E0080]: evaluation of constant value failed |
0731742a | 2 | --> $DIR/const-len-underflow-subspans.rs:8:17 |
b7449926 XL |
3 | | |
4 | LL | let a: [i8; ONE - TWO] = unimplemented!(); | |
1b1a35ee | 5 | | ^^^^^^^^^ attempt to compute `1_usize - 2_usize`, which would overflow |
b7449926 | 6 | |
a1dfa0c6 | 7 | error: aborting due to previous error |
b7449926 XL |
8 | |
9 | For more information about this error, try `rustc --explain E0080`. |