Lines Matching refs:quote
4 use quote::quote;
31 (quote! { in derive_arbitrary()
73 let arbitrary = construct(fields, |_, _| quote!(arbitrary::Arbitrary::arbitrary(u)?)); in gen_arbitrary_method()
75 quote! { in gen_arbitrary_method()
92 quote!(arbitrary::Arbitrary::arbitrary(u)?) in gen_arbitrary_method()
95 quote! { #idx => #ident::#variant_name #ctor } in gen_arbitrary_method()
101 quote! { #idx => #ident::#variant_name #ctor } in gen_arbitrary_method()
104 quote! { in gen_arbitrary_method()
135 quote! { #name: #ctor } in construct()
137 quote! { { #(#names,)* } } in construct()
142 quote! { #ctor } in construct()
144 quote! { ( #(#names),* ) } in construct()
146 Fields::Unit => quote!(), in construct()
153 quote! { arbitrary::Arbitrary::arbitrary_take_rest(u)? } in construct_take_rest()
155 quote! { arbitrary::Arbitrary::arbitrary(&mut u)? } in construct_take_rest()
163 quote! { in gen_size_hint_method()
171 quote! { in gen_size_hint_method()
183 quote! { in gen_size_hint_method()