fork/rust

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

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

master
757 B19 linesraw
1error[E0277]: `*mut u8` cannot be sent between threads safely
2  --> $DIR/kindck-send-owned.rs:12:19
3   |
4LL |     assert_send::<Box<*mut u8>>();
5   |                   ^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely
6   |
7   = help: the trait `Send` is not implemented for `*mut u8`
8   = note: required for `Unique<*mut u8>` to implement `Send`
9note: required because it appears within the type `Box<*mut u8>`
10  --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
11note: required by a bound in `assert_send`
12  --> $DIR/kindck-send-owned.rs:3:18
13   |
14LL | fn assert_send<T:Send>() { }
15   |                  ^^^^ required by this bound in `assert_send`
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0277`.