We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f7cb6a + 8c0d76b commit 48a079fCopy full SHA for 48a079f
src/expressions/array-expr.md
@@ -62,7 +62,7 @@ in a _panicked state_ if it fails.
62
63
```rust,should_panic
64
// lint is deny by default.
65
-#![warn(const_err)]
+#![warn(unconditional_panic)]
66
67
([1, 2, 3, 4])[2]; // Evaluates to 3
68
0 commit comments