diff options
Diffstat (limited to 'src/ir/function.rs')
-rw-r--r-- | src/ir/function.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ir/function.rs b/src/ir/function.rs index fbb6121e..99ab8772 100644 --- a/src/ir/function.rs +++ b/src/ir/function.rs @@ -480,9 +480,7 @@ impl Trace for FunctionSig { // // Note that copy is always derived, so we don't need to implement it. impl CanTriviallyDeriveDebug for FunctionSig { - type Extra = (); - - fn can_trivially_derive_debug(&self, _ctx: &BindgenContext, _: ()) -> bool { + fn can_trivially_derive_debug(&self) -> bool { const RUST_DERIVE_FUNPTR_LIMIT: usize = 12; if self.argument_types.len() > RUST_DERIVE_FUNPTR_LIMIT { return false; |