]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0277]: `A` cannot be shared between threads safely |
e1599b0c | 2 | --> $DIR/extern-types-not-sync-send.rs:13:19 |
b7449926 XL |
3 | | |
4 | LL | assert_sync::<A>(); | |
e1599b0c | 5 | | ^ `A` cannot be shared between threads safely |
b7449926 | 6 | | |
1b1a35ee | 7 | = help: the trait `Sync` is not implemented for `A` |
94222f64 XL |
8 | note: required by a bound in `assert_sync` |
9 | --> $DIR/extern-types-not-sync-send.rs:9:28 | |
10 | | | |
11 | LL | fn assert_sync<T: ?Sized + Sync>() {} | |
12 | | ^^^^ required by this bound in `assert_sync` | |
b7449926 XL |
13 | |
14 | error[E0277]: `A` cannot be sent between threads safely | |
e1599b0c | 15 | --> $DIR/extern-types-not-sync-send.rs:16:19 |
b7449926 XL |
16 | | |
17 | LL | assert_send::<A>(); | |
e1599b0c | 18 | | ^ `A` cannot be sent between threads safely |
b7449926 | 19 | | |
1b1a35ee | 20 | = help: the trait `Send` is not implemented for `A` |
94222f64 XL |
21 | note: required by a bound in `assert_send` |
22 | --> $DIR/extern-types-not-sync-send.rs:10:28 | |
23 | | | |
24 | LL | fn assert_send<T: ?Sized + Send>() {} | |
25 | | ^^^^ required by this bound in `assert_send` | |
b7449926 XL |
26 | |
27 | error: aborting due to 2 previous errors | |
28 | ||
29 | For more information about this error, try `rustc --explain E0277`. |