fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0597]: `l` does not live long enough 2 --> $DIR/promoted-bounds.rs:19:17 3 | 4LL | let ptr = { 5 | --- borrow later stored here 6LL | let l = 3; 7LL | let b = &l; 8 | ^^ borrowed value does not live long enough 9... 10LL | }; 11 | - `l` dropped here while still borrowed 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0597`.