1 error[E0277]: `T` cannot be sent between threads safely
2 --> $DIR/bad-method-typaram-kind.rs:2:13
5 | ^ `T` cannot be sent between threads safely
7 note: required by a bound in `Bar::bar`
8 --> $DIR/bad-method-typaram-kind.rs:6:14
10 LL | fn bar<T:Send>(&self);
11 | ^^^^ required by this bound in `Bar::bar`
12 help: consider further restricting this bound
14 LL | fn foo<T:'static + std::marker::Send>() {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.