1 error[E0277]: `T` cannot be sent between threads safely
2 --> $DIR/typeck-default-trait-impl-send-param.rs:5:15
5 | ^ `T` cannot be sent between threads safely
7 note: required by a bound in `is_send`
8 --> $DIR/typeck-default-trait-impl-send-param.rs:8:14
10 LL | fn is_send<T:Send>() {
11 | ^^^^ required by this bound in `is_send`
12 help: consider restricting type parameter `T`
14 LL | fn foo<T: std::marker::Send>() {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.