fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
299 B10 linesraw
1error: this operation will panic at runtime
2  --> $DIR/const-prop-ice.rs:4:5
3   |
4LL |     [0; 3][3u64 as usize];
5   |     ^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the len is 3 but the index is 3
6   |
7   = note: `#[deny(unconditional_panic)]` on by default
8
9error: aborting due to previous error
10