Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
issues
/
issue-13497.rs
blob: 4b2795aa841e83ce60cc7eb3f175c4587db68a6a [
file
] [
log
] [
blame
]
fn
read_lines_borrowed1
()
->
Vec
<
&
str
//~ ERROR missing lifetime specifier
>
{
let
rawLines
:
Vec
<
String
>
=
vec
![
"foo "
.
to_string
(),
" bar"
.
to_string
()];
rawLines
.
iter
().
map
(|
l
|
l
.
trim
()).
collect
()
}
fn
main
()
{}