- let ref_ty = syn::Type::Reference(syn::TypeReference {
- and_token: syn::Token![&](Span::call_site()),
- lifetime: None, mutability: None,
- elem: Box::new(syn::Type::Path(syn::TypePath {
- qself: None, path: string_path_to_syn_path(&resolved)
- })),
+ let ty = syn::Type::Path(syn::TypePath {
+ qself: None, path: string_path_to_syn_path(&resolved)