1 2 3 4 5 6 7 8 9 10
// Regression test for #70934 struct S; fn foo() { &([S][0],); //~^ ERROR cannot move out of type `[S; 1]` } fn main() {}