fork/rust

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

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

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