fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `*const u8` cannot be sent between threads safely 2 --> $DIR/E0277-2.rs:16:15 3 | 4LL | is_send::<Foo>(); 5 | ^^^ `*const u8` cannot be sent between threads safely 6 | 7 = help: within `Foo`, the trait `Send` is not implemented for `*const u8` 8note: required because it appears within the type `Baz` 9 --> $DIR/E0277-2.rs:9:8 10 | 11LL | struct Baz { 12 | ^^^ 13note: required because it appears within the type `Bar` 14 --> $DIR/E0277-2.rs:5:8 15 | 16LL | struct Bar { 17 | ^^^ 18note: required because it appears within the type `Foo` 19 --> $DIR/E0277-2.rs:1:8 20 | 21LL | struct Foo { 22 | ^^^ 23note: required by a bound in `is_send` 24 --> $DIR/E0277-2.rs:13:15 25 | 26LL | fn is_send<T: Send>() { } 27 | ^^^^ required by this bound in `is_send` 28 29error: aborting due to previous error 30 31For more information about this error, try `rustc --explain E0277`.