events: Update stderr for ui test

The order in which errors are emitted changed.
This commit is contained in:
Jonas Platte 2021-05-06 18:47:18 +02:00
parent 95cd1ee60d
commit b96ab9580e
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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 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 --> $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) = 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 error: cannot find attribute `not_ruma_event` in this scope
--> $DIR/03-invalid-event-type.rs:5:3 --> $DIR/03-invalid-event-type.rs:5:3
| |