fork/rust

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

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

1.39.0
442 B14 linesraw
1error[E0277]: `Foo` cannot be sent between threads safely
2  --> $DIR/no_send-struct.rs:15:9
3   |
4LL | fn bar<T: Send>(_: T) {}
5   |    ---    ---- required by this bound in `bar`
6...
7LL |     bar(x);
8   |         ^ `Foo` cannot be sent between threads safely
9   |
10   = help: the trait `std::marker::Send` is not implemented for `Foo`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.