Debian Codegraph @

third_party/rust/darling/tests/enums_unit.rs

raw
1 //! Test expansion of enum variants which have no associated data.
2
3 use darling::FromMeta;
4
5 #[derive(Debug, FromMeta)]
6 #[darling(rename_all = "snake_case")]
7 enum Pattern {
8 Owned,
9 Immutable,
10 Mutable,
11 }
12
13 #[test]
14 fn expansion() {}