]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-array-oob.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / consts / const-array-oob.rs
index eca2fe18ab96acd8ac756fc30cc7da94b42fe4b2..c747ab50c16b8237a4728e955f8c299bd7664fd3 100644 (file)
@@ -1,5 +1,3 @@
-#![feature(const_indexing)]
-
 const FOO: [usize; 3] = [1, 2, 3];
 const BAR: usize = FOO[5]; // no error, because the error below occurs before regular const eval