1 2 3 4 5 6
struct NonCopy; fn main() { let array = [NonCopy; 1]; let _value = array[0]; //~ ERROR [E0508] }