Lines Matching refs:quote
14 use quote::{quote, quote_spanned, ToTokens};
179 quote!(#zerocopy_crate::util::macro_util::core_reexport)
205 quote! { const _: () = { #(#items)* }; }
217 quote!()
222 quote::quote_spanned! {span=>
230 quote!()
233 quote!()
238 quote::quote_spanned! {span=>
246 quote!()
248 quote!(#on_error #invariant)
440 tokens.extend(quote!(project_clients::#ident));
530 tokens.extend(quote!(#ident #arguments));
759 let option = quote! { #core::option::Option };
760 let nonzero = quote! { #core::num::NonZeroUsize };
761 let none = quote! { #option::None::<#nonzero> };
766 }).unwrap_or(quote! { (#none) });
770 quote! { (#nonzero::new(#n as usize)) }
771 }).unwrap_or(quote! { (#none) });
774 quote!([#((#types)),*])
854 quote!(#ident)
858 quote!(#ident)
862 quote!({#ident})
868 if self.ctx.skip_on_error { quote!(#[allow(trivial_bounds)]) } else { quote!() };
869 let impl_tokens = quote! {
915 quote! {
937 quote! {
953 quote! { #ident #eq #discriminant }
955 quote! { #ident }
963 EnumRepr::Transparent(span) => quote::quote_spanned! { *span => #[repr(transparent)] },
964 EnumRepr::Compound(c, _) => quote! { #c },
967 quote! {
1016 fn panic_ambiguous_path(path: &impl quote::ToTokens) -> ! {
1021 quote::quote!(#path)
1058 check_hygiene(quote::quote! {
1068 check_hygiene(quote::quote! {
1078 check_hygiene(quote::quote! {
1088 check_hygiene(quote::quote! {
1184 assert_eq!(quote::quote!(#path).to_string(), ":: renamed");