fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
477 B12 linesraw
1error[E0277]: `T` cannot be sent between threads safely
2  --> $DIR/builtin-superkinds-typaram-not-send.rs:5:24
3   |
4LL | impl <T: Sync+'static> Foo for T { }
5   |                        ^^^ `T` cannot be sent between threads safely
6   |
7   = help: the trait `std::marker::Send` is not implemented for `T`
8   = help: consider adding a `where T: std::marker::Send` bound
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.