2 let foo = String::new();
4 let _baz = [foo; 0]; //~ ERROR use of moved value: `foo` [E0382]
7 const _: [String; 0] = [String::new(); 0];
8 //~^ ERROR destructor of `String` cannot be evaluated at compile-time [E0493]
12 let _ = [x; 0]; //~ ERROR E0381