1 2 3 4 5 6 7 8 9 10 11
// build-pass #![allow(dead_code)] #![allow(unused_variables)] #![allow(unconditional_panic)] const A: [u32; 1] = [0]; fn test() { let range = A[1]..; } fn main() { }