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