1 error[E0277]: `Foo` cannot be sent between threads safely
2 --> $DIR/extern-type-diag-not-similar.rs:20:19
4 LL | assert_send::<Foo>()
5 | ^^^ `Foo` cannot be sent between threads safely
7 = help: the trait `Send` is not implemented for `Foo`
8 note: required by a bound in `assert_send`
9 --> $DIR/extern-type-diag-not-similar.rs:17:19
11 LL | fn assert_send<T: Send + ?Sized>() {}
12 | ^^^^ required by this bound in `assert_send`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.