Skip to content

Commit

Permalink
Ignore clippy::multiple_bound_locations lint. (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWhite2357 authored May 24, 2024
1 parent 4c46b91 commit 7094cb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions derive/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down

0 comments on commit 7094cb8

Please sign in to comment.