Lines Matching refs:tokens
12 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_attr() localVariable
20 snapshot!(tokens as Item, @r###" in test_macro_variable_attr()
53 let tokens = quote! { in test_negative_impl() localVariable
56 snapshot!(tokens as Item, @r###" in test_negative_impl()
66 let tokens = quote! { in test_negative_impl() localVariable
69 snapshot!(tokens as Item, @r###" in test_negative_impl()
78 let tokens = quote! { in test_negative_impl() localVariable
81 snapshot!(tokens as Item, @r###" in test_negative_impl()
111 let tokens = quote! { in test_negative_impl() localVariable
114 snapshot!(tokens as Item, @r###" in test_negative_impl()
125 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_impl() localVariable
133 snapshot!(tokens as Item, @r###" in test_macro_variable_impl()
168 let tokens = quote!(trait Trait where {}); in test_supertraits() localVariable
169 snapshot!(tokens as ItemTrait, @r###" in test_supertraits()
180 let tokens = quote!(trait Trait: where {}); in test_supertraits() localVariable
181 snapshot!(tokens as ItemTrait, @r###" in test_supertraits()
193 let tokens = quote!(trait Trait: Sized where {}); in test_supertraits() localVariable
194 snapshot!(tokens as ItemTrait, @r###" in test_supertraits()
219 let tokens = quote!(trait Trait: Sized + where {}); in test_supertraits() localVariable
220 snapshot!(tokens as ItemTrait, @r###" in test_supertraits()
248 let tokens = quote! { in test_type_empty_bounds() localVariable
254 snapshot!(tokens as ItemTrait, @r###" in test_type_empty_bounds()