serde: Allow specifying full paths in incoming_derive
This commit is contained in:
		
							parent
							
								
									e3427ba5d0
								
							
						
					
					
						commit
						c6c89596bb
					
				| @ -5,8 +5,8 @@ use syn::{ | ||||
|     parse_quote, | ||||
|     punctuated::Punctuated, | ||||
|     AngleBracketedGenericArguments, Attribute, Data, DeriveInput, Field, Fields, GenericArgument, | ||||
|     GenericParam, Generics, Ident, ImplGenerics, ParenthesizedGenericArguments, PathArguments, | ||||
|     Token, Type, TypeGenerics, TypePath, TypeReference, TypeSlice, Variant, | ||||
|     GenericParam, Generics, Ident, ImplGenerics, ParenthesizedGenericArguments, Path, | ||||
|     PathArguments, Token, Type, TypeGenerics, TypePath, TypeReference, TypeSlice, Variant, | ||||
| }; | ||||
| 
 | ||||
| use crate::util::import_ruma_serde; | ||||
| @ -315,7 +315,7 @@ impl Parse for Meta { | ||||
| } | ||||
| 
 | ||||
| pub enum DeriveMac { | ||||
|     Regular(Ident), | ||||
|     Regular(Path), | ||||
|     NegativeDeserialize, | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user