]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0277]: `T` cannot be sent between threads safely |
0731742a | 2 | --> $DIR/bad-method-typaram-kind.rs:2:7 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | 1.bar::<T>(); |
b7449926 XL |
5 | | ^^^ `T` cannot be sent between threads safely |
6 | | | |
ba9703b0 | 7 | help: consider further restricting this bound |
74b04a01 | 8 | | |
cdc7bbd5 | 9 | LL | fn foo<T:'static + std::marker::Send>() { |
94222f64 | 10 | | +++++++++++++++++++ |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0277`. |