1 error[E0277]: `T` cannot be sent between threads safely
2 --> $DIR/bad-method-typaram-kind.rs:2:7
5 | ^^^ `T` cannot be sent between threads safely
7 = help: the trait `std::marker::Send` is not implemented for `T`
8 help: consider further restricting this bound
10 LL | fn foo<T:'static + std::marker::Send>() {
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.