This commit is contained in:
Nathan Sobo 2023-07-25 16:33:58 -06:00
parent 54a7419fa2
commit df9c17176e
3 changed files with 297 additions and 17 deletions

View file

@ -1,11 +1,10 @@
use proc_macro::TokenStream;
use proc_macro2::Ident;
use quote::{format_ident, quote, ToTokens};
use quote::{format_ident, quote};
use std::mem;
use syn::{
parse_macro_input, parse_quote, spanned::Spanned as _, AttributeArgs, DeriveInput, FnArg,
GenericParam, Generics, ItemFn, Lit, Meta, NestedMeta, Type, TypeGenerics, TypeParam,
WhereClause,
GenericParam, Generics, ItemFn, Lit, Meta, NestedMeta, Type, WhereClause,
};
#[proc_macro_attribute]