]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/unnamed-closure-doesnt-life-long-enough-issue-67634.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / lifetimes / unnamed-closure-doesnt-life-long-enough-issue-67634.rs
1 fn main() {
2     [0].iter().flat_map(|a| [0].iter().map(|_| &a)); //~ ERROR closure may outlive
3 }