index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
lifetimes
/
unnamed-closure-doesnt-life-long-enough-issue-67634.rs
blob: 8deb3655158409ae252528e7d023615c19e8b419 (
plain
)
1
2
3
fn main() { [0].iter().flat_map(|a| [0].iter().map(|_| &a)); //~ ERROR closure may outlive }