1 warning: attempt to subtract with overflow
2 --> $DIR/const-len-underflow-separate-spans.rs:17:20
4 LL | const LEN: usize = ONE - TWO;
7 = note: #[warn(const_err)] on by default
9 error[E0080]: constant evaluation error
10 --> $DIR/const-len-underflow-separate-spans.rs:17:20
12 LL | const LEN: usize = ONE - TWO;
13 | ^^^^^^^^^ attempt to subtract with overflow
15 error[E0080]: constant evaluation error
16 --> $DIR/const-len-underflow-separate-spans.rs:22:17
18 LL | let a: [i8; LEN] = unimplemented!();
19 | ^^^ referenced constant has errors
21 error: aborting due to 2 previous errors
23 If you want more information on this error, try using "rustc --explain E0080"