events: Remove unnecessary duplication from trybuild testcase

This commit is contained in:
Jonas Platte 2022-04-01 17:17:47 +02:00 committed by Jonas Platte
parent ff700c7f1a
commit abcaa4d3f7
2 changed files with 0 additions and 12 deletions

View File

@ -6,12 +6,6 @@ event_enum! {
}
}
event_enum! {
enum State {
"not.a.path",
}
}
fn main() {}
#[doc(hidden)]

View File

@ -1,9 +1,3 @@
error: well-known matrix events have to start with `m.` found `not.a.path`
--> tests/events/ui/08-enum-invalid-path.rs:11:9
|
11 | "not.a.path",
| ^^^^^^^^^^^^
error[E0433]: failed to resolve: could not find `not` in `events`
--> tests/events/ui/08-enum-invalid-path.rs:5:9
|