blob: 8442f47e82c482cf6c1ab5408465c98ae43cb4b3 [file] [log] [blame]
error[E0277]: `MyNotSendable` cannot be sent between threads safely
--> $DIR/typeck-default-trait-impl-negation-send.rs:19: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:15:1
|
LL | fn is_send<T: Send>() {}
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.