fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0277]: `T` cannot be sent between threads safely 2 --> $DIR/bad-method-typaram-kind.rs:2:7 3 | 4LL | 1.bar::<T>(); 5 | ^^^ `T` cannot be sent between threads safely 6 | 7 = help: the trait `std::marker::Send` is not implemented for `T` 8help: consider further restricting this bound 9 | 10LL | fn foo<T:'static + std::marker::Send>() { 11 | ^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0277`.