1 error: this operation will panic at runtime
2 --> $DIR/issue-54348.rs:5:5
4 LL | [1][1.5 as usize];
5 | ^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
7 = note: `#[deny(unconditional_panic)]` on by default
9 error: this operation will panic at runtime
10 --> $DIR/issue-54348.rs:6:5
12 LL | [1][1u64 as usize];
13 | ^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
15 error: aborting due to 2 previous errors