diff --git a/crates/ruma-events/tests/ui/03-invalid-event-type.stderr b/crates/ruma-events/tests/ui/03-invalid-event-type.stderr index 7cf07183..8d801db7 100644 --- a/crates/ruma-events/tests/ui/03-invalid-event-type.stderr +++ b/crates/ruma-events/tests/ui/03-invalid-event-type.stderr @@ -1,9 +1,3 @@ -error: expected one of: `type`, `skip_redaction`, `custom_redacted` - --> $DIR/03-invalid-event-type.rs:11:14 - | -11 | #[ruma_event(event = "m.macro.test")] - | ^^^^^ - error: no event type attribute found, add `#[ruma_event(type = "any.room.event")]` below the event content derive --> $DIR/03-invalid-event-type.rs:4:48 | @@ -12,6 +6,12 @@ error: no event type attribute found, add `#[ruma_event(type = "any.room.event") | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) +error: expected one of: `type`, `skip_redaction`, `custom_redacted` + --> $DIR/03-invalid-event-type.rs:11:14 + | +11 | #[ruma_event(event = "m.macro.test")] + | ^^^^^ + error: cannot find attribute `not_ruma_event` in this scope --> $DIR/03-invalid-event-type.rs:5:3 |