1
0
Fork 0
ruma/crates/ruma-events/tests/it/ui/06-no-content-field.stderr
Kévin Commaille 68544a19c4 events: Refactor Event macro code
Reorganize and improve the documentation of the code.
2025-12-09 14:34:30 +01:00

7 lines
306 B
Text

error: `Event` struct must contain at least a `content` field
--> tests/it/ui/06-no-content-field.rs:5:24
|
5 | #[derive(Clone, Debug, Event)]
| ^^^^^
|
= note: this error originates in the derive macro `Event` (in Nightly builds, run with -Z macro-backtrace for more info)