mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
proc: allow implementing #[command] over more complex types
This commit is contained in:
parent
921378b6db
commit
7ddbace030
2 changed files with 3 additions and 3 deletions
|
|
@ -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},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue