silence warnings for field names that start with _
All checks were successful
/ test (push) Successful in 37m30s
All checks were successful
/ test (push) Successful in 37m30s
This commit is contained in:
parent
59cef3f398
commit
1a2149b040
|
@ -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…
Reference in a new issue