1 error[E0080]: constant evaluation error
2 --> $DIR/conditional_array_execution.rs:16:20
4 LL | println!("{}", FOO); //~ E0080
5 | ^^^ referenced constant has errors
7 error[E0080]: constant evaluation error
8 --> $DIR/conditional_array_execution.rs:13:19
10 LL | const FOO: u32 = [X - Y, Y - X][(X < Y) as usize]; //~ E0080
11 | ^^^^^ attempt to subtract with overflow
13 error: aborting due to 2 previous errors
15 If you want more information on this error, try using "rustc --explain E0080"