forked from libre-chip/fayalite
		
	silence warnings for field names that start with _
This commit is contained in:
		
							parent
							
								
									59cef3f398
								
							
						
					
					
						commit
						1a2149b040
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -340,7 +340,7 @@ impl ToTokens for Builder { | |||
|                 })); | ||||
|             quote_spanned! {self.ident.span()=> | ||||
|                 #[automatically_derived] | ||||
|                 #[allow(non_camel_case_types, dead_code)] | ||||
|                 #[allow(non_camel_case_types, non_snake_case, dead_code)] | ||||
|                 impl #impl_generics #unfilled_ty | ||||
|                 #where_clause | ||||
|                 { | ||||
|  |  | |||
|  | @ -9,8 +9,7 @@ pub struct S<T, Len: Size, T2> { | |||
|     b: UInt<3>, | ||||
|     pub(crate) c: ArrayType<UInt<1>, Len>, | ||||
|     pub d: T2, | ||||
|     pub e: PhantomData<T>, | ||||
|     pub f: PhantomData<Len>, | ||||
|     pub _phantom: PhantomData<(T, Len)>, | ||||
| } | ||||
| 
 | ||||
| #[hdl(outline_generated)] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue