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