]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0277]: `*const u8` cannot be sent between threads safely |
0731742a | 2 | --> $DIR/E0277-2.rs:16:5 |
2c00a5a8 | 3 | | |
e1599b0c | 4 | LL | fn is_send<T: Send>() { } |
ba9703b0 | 5 | | ---- required by this bound in `is_send` |
e1599b0c | 6 | ... |
0531ce1d | 7 | LL | is_send::<Foo>(); |
2c00a5a8 XL |
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` | |
2c00a5a8 XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
0531ce1d | 17 | For more information about this error, try `rustc --explain E0277`. |