mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 01:01:03 +00:00
Macros to use path instead of ident (#1474)
This commit is contained in:
@@ -92,7 +92,7 @@ impl CompositeDef {
|
||||
pub fn try_from(
|
||||
attr_span: proc_macro2::Span,
|
||||
index: usize,
|
||||
scrate: &proc_macro2::Ident,
|
||||
scrate: &syn::Path,
|
||||
item: &mut syn::Item,
|
||||
) -> syn::Result<Self> {
|
||||
let item = if let syn::Item::Enum(item) = item {
|
||||
|
||||
Reference in New Issue
Block a user