summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/array-literal-index-oob.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/array-literal-index-oob.stderr')
-rw-r--r--src/test/ui/consts/array-literal-index-oob.stderr14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/consts/array-literal-index-oob.stderr b/src/test/ui/consts/array-literal-index-oob.stderr
deleted file mode 100644
index 54bf3af81..000000000
--- a/src/test/ui/consts/array-literal-index-oob.stderr
+++ /dev/null
@@ -1,14 +0,0 @@
-warning: this operation will panic at runtime
- --> $DIR/array-literal-index-oob.rs:7:8
- |
-LL | &{ [1, 2, 3][4] };
- | ^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 4
- |
-note: the lint level is defined here
- --> $DIR/array-literal-index-oob.rs:4:9
- |
-LL | #![warn(unconditional_panic)]
- | ^^^^^^^^^^^^^^^^^^^
-
-warning: 1 warning emitted
-