blob: e30d4dfa1b3c49d7b074604a0a855fb54c813562 [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`.