blob: cfe378f55b1ee613f4abc010ef462613d5ec5d81 [file] [log] [blame] [edit]
fn foo() -> String { String::new() }
fn main() {
let string_arr = [foo(); 64]; //~ ERROR the trait bound `String: Copy` is not satisfied
}