1 error[E0597]: `x` does not live long enough
2 --> $DIR/send-is-not-static-std-sync-2.rs:11:20
5 | ---- borrow later stored here
8 | ^^ borrowed value does not live long enough
10 | - `x` dropped here while still borrowed
12 error[E0597]: `x` does not live long enough
13 --> $DIR/send-is-not-static-std-sync-2.rs:21:21
16 | ---- borrow later stored here
19 | ^^ borrowed value does not live long enough
21 | - `x` dropped here while still borrowed
23 error[E0597]: `x` does not live long enough
24 --> $DIR/send-is-not-static-std-sync-2.rs:31:25
26 LL | let (_tx, rx) = {
27 | --- borrow later used here
29 LL | let _ = tx.send(&x);
30 | ^^ borrowed value does not live long enough
33 | - `x` dropped here while still borrowed
35 error: aborting due to 3 previous errors
37 For more information about this error, try `rustc --explain E0597`.