fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
546 B14 linesraw
1error[E0277]: `*mut &'a isize` cannot be sent between threads safely
2  --> $DIR/kindck-send-unsafe.rs:6:19
3   |
4LL | fn assert_send<T:Send>() { }
5   |    -----------   ---- required by this bound in `assert_send`
6...
7LL |     assert_send::<*mut &'a isize>();
8   |                   ^^^^^^^^^^^^^^ `*mut &'a isize` cannot be sent between threads safely
9   |
10   = help: the trait `std::marker::Send` is not implemented for `*mut &'a isize`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.