fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0597]: `x` does not live long enough 2 --> $DIR/async-borrowck-escaping-closure-error.rs:5:24 3 | 4LL | Box::new((async || x)()) 5 | -------------------^---- 6 | | | | 7 | | | borrowed value does not live long enough 8 | | value captured here 9 | borrow later used here 10LL | 11LL | } 12 | - `x` dropped here while still borrowed 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0597`.