fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
310 B10 linesraw
1error: this operation will panic at runtime
2  --> $DIR/ice-5497.rs:9:22
3   |
4LL |     const OOB: i32 = [1][1] + T::OOB;
5   |                      ^^^^^^ index out of bounds: the length is 1 but the index is 1
6   |
7   = note: `#[deny(unconditional_panic)]` on by default
8
9error: aborting due to previous error
10