]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-prop-ice.stderr
Do not suggest `let_else` if no bindings would be introduced
[rust.git] / src / test / ui / consts / const-prop-ice.stderr
1 error: this operation will panic at runtime
2   --> $DIR/const-prop-ice.rs:4:5
3    |
4 LL |     [0; 3][3u64 as usize];
5    |     ^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
6    |
7    = note: `#[deny(unconditional_panic)]` on by default
8
9 error: aborting due to previous error
10