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