error: entity traits have been replaced by #[rpc_group]; use #[entity_impl(rpc_groups(...))] instead
--> tests/ui/missing_trait_with.rs:9:1
|
9 | #[entity_impl(traits(SomeGroup))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `entity_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `LoggingEntity: Entity` is not satisfied
--> tests/ui/missing_trait_with.rs:20:21
|
20 | assert_entity::<LoggingEntity>();
| ^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `Entity` is not implemented for `LoggingEntity`
--> tests/ui/missing_trait_with.rs:6:1
|
6 | struct LoggingEntity;
| ^^^^^^^^^^^^^^^^^^^^
note: required by a bound in `assert_entity`
--> tests/ui/missing_trait_with.rs:17:21
|
17 | fn assert_entity<T: Entity>() {}
| ^^^^^^ required by this bound in `assert_entity`