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