use darling::FromDeriveInput; use syn::Attribute; fn bad_converter(attrs: Vec) -> Vec { attrs } #[derive(FromDeriveInput)] #[darling(forward_attrs)] struct Receiver { #[darling(with = bad_converter)] attrs: Vec, } fn main() {}