fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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`.