Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
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
()
{}