1 error[E0277]: `NotSend` cannot be sent between threads safely
2 --> $DIR/partial-drop-partial-reinit.rs:9:16
4 LL | gimme_send(foo());
5 | ---------- ^^^^^ `NotSend` cannot be sent between threads safely
7 | required by a bound introduced by this call
10 | - within this `impl Future<Output = ()>`
12 = help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `NotSend`
13 = note: required because it appears within the type `(NotSend,)`
14 = note: required because it captures the following types: `&mut Context<'_>`, `(NotSend,)`, `impl Future<Output = ()>`, `()`
15 note: required because it's used within this `async fn` body
16 --> $DIR/partial-drop-partial-reinit.rs:31:16
22 LL | | let mut x = (NotSend {},);
27 note: required by a bound in `gimme_send`
28 --> $DIR/partial-drop-partial-reinit.rs:17:18
30 LL | fn gimme_send<T: Send>(t: T) {
31 | ^^^^ required by this bound in `gimme_send`
33 error: aborting due to previous error
35 For more information about this error, try `rustc --explain E0277`.