We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589f9a8 commit 29c43feCopy full SHA for 29c43fe
src/test/ui/const-eval/index_out_of_bounds.rs
@@ -14,4 +14,4 @@ static FOO: i32 = [][0];
14
fn main() {
15
let array = [std::env::args().len()];
16
array[1]; //~ ERROR index out of bounds
17
-}
+}
0 commit comments