blob: 8232bdd23a6431c0785b8824eb60c44e8c71394f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0277]: `T` cannot be sent between threads safely
--> $DIR/bad-method-typaram-kind.rs:2: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`.
|