fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: borrowed data cannot be stored outside of its closure 2 --> $DIR/issue-45983.rs:20:27 3 | 4LL | let x = None; 5 | - borrowed data cannot be stored into here... 6LL | give_any(|y| x = Some(y)); 7 | --- ^ cannot be stored outside of its closure 8 | | 9 | ...because it cannot outlive this closure 10 11error: aborting due to previous error 12