]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-prop-ice.stderr
Rollup merge of #64603 - gilescope:unused-lifetime-warning, r=matthewjasper
[rust.git] / src / test / ui / consts / const-prop-ice.stderr
1 error: index out of bounds: the len is 3 but the index is 3
2   --> $DIR/const-prop-ice.rs:2:5
3    |
4 LL |     [0; 3][3u64 as usize];
5    |     ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `#[deny(const_err)]` on by default
8
9 error: aborting due to previous error
10