events: Remove unnecessary duplication from trybuild testcase
This commit is contained in:
parent
ff700c7f1a
commit
abcaa4d3f7
@ -6,12 +6,6 @@ event_enum! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
event_enum! {
|
|
||||||
enum State {
|
|
||||||
"not.a.path",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
|
@ -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`
|
error[E0433]: failed to resolve: could not find `not` in `events`
|
||||||
--> tests/events/ui/08-enum-invalid-path.rs:5:9
|
--> tests/events/ui/08-enum-invalid-path.rs:5:9
|
||||||
|
|
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user