summaryrefslogtreecommitdiffstats
path: root/vendor/darling-0.14.4/tests/compile-fail/not_impl_from_meta.rs
blob: f27d716391c29ab13e1fbba99cde1c6aedc287c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use darling::FromMeta;

struct NotImplFm;

#[derive(FromMeta)]
struct OuterFm {
    inner: NotImplFm,
}

#[derive(darling::FromDeriveInput)]
#[darling(attributes(hello))]
struct OuterFdi {
    inner: NotImplFm,
}

fn main() {}