summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/array-literal-index-oob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/array-literal-index-oob.rs')
-rw-r--r--src/test/ui/consts/array-literal-index-oob.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/array-literal-index-oob.rs b/src/test/ui/consts/array-literal-index-oob.rs
index 9b3f735b1..67b49b1ba 100644
--- a/src/test/ui/consts/array-literal-index-oob.rs
+++ b/src/test/ui/consts/array-literal-index-oob.rs
@@ -1,7 +1,7 @@
// build-pass
// ignore-pass (test emits codegen-time warnings and verifies that they are not errors)
-#![warn(const_err, unconditional_panic)]
+#![warn(unconditional_panic)]
fn main() {
&{ [1, 2, 3][4] };