proc: allow implementing #[command] over more complex types

This commit is contained in:
🪞👃🪞 2025-05-18 18:31:40 +03:00
parent 921378b6db
commit 7ddbace030
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ pub(crate) use proc_macro2::{
TokenStream as TokenStream2, Ident, Span, Punct, Group, Delimiter, Spacing::*
};
pub(crate) use syn::{
parse_macro_input, ImplItem, ImplItemFn, LitStr, Type,
parse_macro_input, ImplItem, ImplItemFn, LitStr, Type, TypePath,
ItemImpl, ReturnType, Signature, FnArg, Pat, PatType, PatIdent,
parse::{Parse, ParseStream, Result},
};