]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-len-underflow-subspans.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / consts / const-len-underflow-subspans.stderr
CommitLineData
a1dfa0c6 1error[E0080]: evaluation of constant value failed
0731742a 2 --> $DIR/const-len-underflow-subspans.rs:8:17
b7449926
XL
3 |
4LL | let a: [i8; ONE - TWO] = unimplemented!();
1b1a35ee 5 | ^^^^^^^^^ attempt to compute `1_usize - 2_usize`, which would overflow
b7449926 6
a1dfa0c6 7error: aborting due to previous error
b7449926
XL
8
9For more information about this error, try `rustc --explain E0080`.