ruwuma/crates/ruma-events/tests/ui/08-enum-invalid-path.rs
2022-02-27 13:54:17 +01:00

20 lines
282 B
Rust

use ruma_macros::event_enum;
event_enum! {
enum State {
"m.not.a.path",
}
}
event_enum! {
enum State {
"not.a.path",
}
}
fn main() {}
#[doc(hidden)]
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct PrivOwnedStr(Box<str>);