{
let owned = String::new();
//| ----- move occurs because `owned` has type `std::string::String`, which does not implement the `Copy` trait
array![ owned];
//| -----------^^^^^--
//| | |
//| | variable moved due to use in closure
//| | value used here after move
//| value moved into closure here
}