fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: evaluation of constant value failed 2 --> $DIR/const-len-underflow-separate-spans.rs:10:20 3 | 4LL | const LEN: usize = ONE - TWO; 5 | ^^^^^^^^^ attempt to compute `1_usize - 2_usize`, which would overflow 6 7note: erroneous constant encountered 8 --> $DIR/const-len-underflow-separate-spans.rs:14:17 9 | 10LL | let a: [i8; LEN] = unimplemented!(); 11 | ^^^ 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0080`.