blob: ed0c49a4f66517c0717d92f7dfd8b50909d38920 [file] [log] [blame]
error[E0277]: `T` cannot be sent between threads safely
--> $DIR/bad-method-typaram-kind.rs:12:7
|
LL | 1.bar::<T>(); //~ ERROR `T` cannot be sent between threads safely
| ^^^ `T` cannot be sent between threads safely
|
= 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`.