| error[E0277]: `MyNotSendable` cannot be sent between threads safely |
| --> $DIR/typeck-default-trait-impl-negation-send.rs:29:5 |
| | |
| LL | is_send::<MyNotSendable>(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ `MyNotSendable` cannot be sent between threads safely |
| | |
| = help: the trait `std::marker::Send` is not implemented for `MyNotSendable` |
| note: required by `is_send` |
| --> $DIR/typeck-default-trait-impl-negation-send.rs:25:1 |
| | |
| LL | fn is_send<T: Send>() {} |
| | ^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0277`. |