error[E0277]: `*const ()` cannot be sent between threads safely
--> tests/compile_fail/text_system_send.rs:7:19
|
7 | assert_send::<slate_framework::TextSystem>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
|
= help: within `slate_framework::TextSystem`, the trait `Send` is not implemented for `*const ()`
note: required because it appears within the type `PhantomData<*const ()>`
--> $RUST/core/src/marker.rs
|
| pub struct PhantomData<T: PointeeSized>;
| ^^^^^^^^^^^
note: required because it appears within the type `slate_framework::TextSystem`
--> src/text_system.rs
|
| pub struct TextSystem {
| ^^^^^^^^^^
note: required by a bound in `assert_send`
--> tests/compile_fail/text_system_send.rs:4:19
|
4 | fn assert_send<T: Send>() {}
| ^^^^ required by this bound in `assert_send`