LL | let _: AssertSync<Foo> = unimplemented!();
| ^^^^^^^^^^^^^^^ `*const Bar` cannot be shared between threads safely
|
- = help: within `Foo`, the trait `std::marker::Sync` is not implemented for `*const Bar`
+ = help: within `Foo`, the trait `Sync` is not implemented for `*const Bar`
= note: required because it appears within the type `Foo`
error[E0277]: `*const Foo` cannot be shared between threads safely
LL | let _: AssertSync<Foo> = unimplemented!();
| ^^^^^^^^^^^^^^^ `*const Foo` cannot be shared between threads safely
|
- = help: within `Foo`, the trait `std::marker::Sync` is not implemented for `*const Foo`
+ = help: within `Foo`, the trait `Sync` is not implemented for `*const Foo`
= note: required because it appears within the type `Bar`
- = note: required because it appears within the type `std::marker::PhantomData<Bar>`
+ = note: required because it appears within the type `PhantomData<Bar>`
= note: required because it appears within the type `Foo`
error: aborting due to 2 previous errors