1 error[E0277]: `Foo` cannot be sent between threads safely
2 --> $DIR/no_send-struct.rs:15:9
5 | --- ^ `Foo` cannot be sent between threads safely
7 | required by a bound introduced by this call
9 = help: the trait `Send` is not implemented for `Foo`
10 note: required by a bound in `bar`
11 --> $DIR/no_send-struct.rs:11:11
13 LL | fn bar<T: Send>(_: T) {}
14 | ^^^^ required by this bound in `bar`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0277`.