Ignore clippy::multiple_bound_locations lint. (#242)

This commit is contained in:
Jay White 2024-05-24 13:52:56 -04:00 committed by GitHub
parent 4c46b919e2
commit 7094cb8b8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>();