1
0
Fork 0
ruma/crates/ruma-events/tests/it/ui/15-content-invalid-double-kind.stderr
Kévin Commaille 1845b12d29 events: Fix compatibility of event_enum! with EventContent for types which are in both account data types
Finds the types that are the same in GlobalAccountData and RoomAccountData
enums and changes the event type alias name to match the behavior of
EventContent.
2025-06-19 10:03:42 +02:00

7 lines
368 B
Text

error: only account data can have two kinds
--> tests/it/ui/15-content-invalid-double-kind.rs:6:48
|
6 | #[derive(Clone, Debug, Deserialize, Serialize, EventContent)]
| ^^^^^^^^^^^^
|
= note: this error originates in the derive macro `EventContent` (in Nightly builds, run with -Z macro-backtrace for more info)