fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
698 B18 linesraw
1error[E0277]: `impl Future<Output = ()>` cannot be sent between threads safely
2  --> $DIR/auto-with-drop_tracking_mir.rs:25:13
3   |
4LL |     is_send(foo());
5   |     ------- ^^^^^ `impl Future<Output = ()>` cannot be sent between threads safely
6   |     |
7   |     required by a bound introduced by this call
8   |
9   = help: the trait `Send` is not implemented for `impl Future<Output = ()>`
10note: required by a bound in `is_send`
11  --> $DIR/auto-with-drop_tracking_mir.rs:24:24
12   |
13LL |     fn is_send(_: impl Send) {}
14   |                        ^^^^ required by this bound in `is_send`
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0277`.