]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/issue-54348.stderr
Merge branch 'debian/experimental2' into debian/sid
[rustc.git] / src / test / ui / consts / issue-54348.stderr
1 error: this operation will panic at runtime
2 --> $DIR/issue-54348.rs:5:5
3 |
4 LL | [1][1.5 as usize];
5 | ^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
6 |
7 = note: `#[deny(unconditional_panic)]` on by default
8
9 error: this operation will panic at runtime
10 --> $DIR/issue-54348.rs:6:5
11 |
12 LL | [1][1u64 as usize];
13 | ^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
14
15 error: aborting due to 2 previous errors
16