ruwuma/crates/ruma-events/tests/it/ui/08-enum-invalid-path.rs
Kévin Commaille 8994a00246 events: Update trybuild output
Warnings are added because of the `unexpected_cfgs` lint.
2025-02-16 15:13:59 -05:00

15 lines
277 B
Rust

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