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