]>
Commit | Line | Data |
---|---|---|
2c00a5a8 XL |
1 | error[E0277]: the trait bound `*const u8: std::marker::Send` is not satisfied in `Foo` |
2 | --> $DIR/E0277-2.rs:26:5 | |
3 | | | |
4 | 26 | is_send::<Foo>(); | |
5 | | ^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely | |
6 | | | |
7 | = help: within `Foo`, the trait `std::marker::Send` is not implemented for `*const u8` | |
8 | = note: required because it appears within the type `Baz` | |
9 | = note: required because it appears within the type `Bar` | |
10 | = note: required because it appears within the type `Foo` | |
11 | note: required by `is_send` | |
12 | --> $DIR/E0277-2.rs:23:1 | |
13 | | | |
14 | 23 | fn is_send<T: Send>() { } | |
15 | | ^^^^^^^^^^^^^^^^^^^^^ | |
16 | ||
17 | error: aborting due to previous error | |
18 |