git-subtree-dir: ruma-events git-subtree-mainline: d59a616e2c363507a89c92f34aa67e86ee2cfb49 git-subtree-split: 00692d532e26f58d48ead9589dc823403c6e59a5
19 lines
513 B
Plaintext
19 lines
513 B
Plaintext
error: proc macro panicked
|
|
--> $DIR/08-enum-invalid-path.rs:10:1
|
|
|
|
|
10 | / event_content_enum! {
|
|
11 | | name: InvalidEvent,
|
|
12 | | events: [
|
|
13 | | "not.a.path",
|
|
14 | | ]
|
|
15 | | }
|
|
| |_^
|
|
|
|
|
= help: message: well-known matrix events have to start with `m.` found `not.a.path`
|
|
|
|
error[E0433]: failed to resolve: could not find `not` in `ruma_events`
|
|
--> $DIR/08-enum-invalid-path.rs:6:9
|
|
|
|
|
6 | "m.not.a.path",
|
|
| ^^^^^^^^^^^^^^ could not find `not` in `ruma_events`
|