mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-10-29 21:30:48 +00:00
Ignore clippy::multiple_bound_locations lint. (#242)
This commit is contained in:
parent
4c46b919e2
commit
7094cb8b8e
@ -317,8 +317,10 @@ impl Derivable for TransparentWrapper {
|
||||
Ok(quote!(
|
||||
const _: () = {
|
||||
#[repr(transparent)]
|
||||
#[allow(clippy::multiple_bound_locations)]
|
||||
struct AssertWrappedIsWrapped #impl_generics((u8, ::core::marker::PhantomData<#wrapped_field_ty>), #(#nonwrapped_field_tys),*) #where_clause;
|
||||
fn assert_zeroable<Z: #crate_name::Zeroable>() {}
|
||||
#[allow(clippy::multiple_bound_locations)]
|
||||
fn check #impl_generics () #where_clause {
|
||||
#(
|
||||
assert_zeroable::<#nonwrapped_field_tys>();
|
||||
|
Loading…
Reference in New Issue
Block a user