fork/rust

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

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

1.43.0
678 B17 linesraw
1error[E0277]: `*const u8` cannot be sent between threads safely
2  --> $DIR/E0277-2.rs:16:5
3   |
4LL | fn is_send<T: Send>() { }
5   |    -------    ---- required by this bound in `is_send`
6...
7LL |     is_send::<Foo>();
8   |     ^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely
9   |
10   = help: within `Foo`, the trait `std::marker::Send` is not implemented for `*const u8`
11   = note: required because it appears within the type `Baz`
12   = note: required because it appears within the type `Bar`
13   = note: required because it appears within the type `Foo`
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.