This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
rust
mirror of
https://github.com/rust-lang/rust.git
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
12bedc3e2b
rust
/
tests
/
ui
/
lifetimes
/
unnamed-closure-doesnt-life...
4 lines
97 B
Rust
Raw
Blame
History
fn
main
(
)
{
[
0
]
.
iter
(
)
.
flat_map
(
|
a
|
[
0
]
.
iter
(
)
.
map
(
|
_
|
&
a
)
)
;
//~ ERROR closure may outlive
}
Reference in New Issue
View Git Blame
Copy Permalink