1 error: this operation will panic at runtime
2 --> $DIR/const-prop-ice2.rs:6:20
4 LL | println!("{}", xs[Enum::One as usize]);
5 | ^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the len is 1 but the index is 1
7 = note: `#[deny(unconditional_panic)]` on by default
9 error: aborting due to previous error