We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dcf55d commit 440946aCopy full SHA for 440946a
src/tools/clippy/tests/ui/crashes/ice-5497.stderr
@@ -0,0 +1,10 @@
1
+error: this operation will panic at runtime
2
+ --> $DIR/ice-5497.rs:9:22
3
+ |
4
+LL | 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
+
9
+error: aborting due to previous error
10
0 commit comments