]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/index_out_of_bounds_propagated.stderr
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / consts / const-eval / index_out_of_bounds_propagated.stderr
1 error: this operation will panic at runtime
2   --> $DIR/index_out_of_bounds_propagated.rs:5:5
3    |
4 LL |     array[1];
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: aborting due to previous error
10