]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-53348.rs
2 let mut v
= vec
!["hello", "this", "is", "a", "test"];
6 v
.into_iter().map(|s
|s
.to_owned()).collect
::<Vec
<_
>>();
8 let mut a
= String
::new();
11 //~^ ERROR mismatched types
12 //~| NOTE expected struct `String`, found `str`