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