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