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.
7 lines
368 B
Text
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)
|