Debian Codegraph @

third_party/rust/darling/tests/compile-fail/not_impl_from_meta.rs

raw
1 use darling::FromMeta;
2
3 struct NotImplFm;
4
5 #[derive(FromMeta)]
6 struct OuterFm {
7 inner: NotImplFm,
8 }
9
10 #[derive(darling::FromDeriveInput)]
11 #[darling(attributes(hello))]
12 struct OuterFdi {
13 inner: NotImplFm,
14 }
15
16 fn main() {}