Sign in
fuchsia
/
third_party
/
rust
/
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
/
.
/
tests
/
ui
/
trait-bounds
/
issue-119530-sugg-from-fn.rs
blob: cfe378f55b1ee613f4abc010ef462613d5ec5d81 [
file
] [
log
] [
blame
]
fn
foo
()
->
String
{
String
::
new
()
}
fn
main
()
{
let
string_arr
=
[
foo
();
64
];
//~ ERROR the trait bound `String: Copy` is not satisfied
}