use syn::{parse_quote, DeriveInput}; use tlkit_expand::structure::convert; #[test] fn test_try_from_expand() -> syn::Result<()> { let input: DeriveInput = parse_quote! { #[into(target = AddProductBo)] pub struct Request { pub user_id: String, } }; let token_stream = convert::expand(input).unwrap().to_string(); println!("{token_stream}"); Ok(()) }