Skip to content

Commit d10b68e

Browse files
committed
Remove unused CanDeriveDebug impl
1 parent 9720520 commit d10b68e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/ir/ty.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use super::comp::CompInfo;
44
use super::context::{BindgenContext, ItemId};
5-
use super::derive::{CanDeriveCopy, CanDeriveDebug, CanDeriveDefault};
5+
use super::derive::{CanDeriveCopy, CanDeriveDefault};
66
use super::dot::DotAttributes;
77
use super::enum_ty::Enum;
88
use super::function::FunctionSig;
@@ -526,14 +526,6 @@ impl TemplateParameters for TypeKind {
526526
}
527527
}
528528

529-
impl CanDeriveDebug for Type {
530-
type Extra = Item;
531-
532-
fn can_derive_debug(&self, ctx: &BindgenContext, item: Item) -> bool {
533-
ctx.lookup_item_id_can_derive_debug(item.id())
534-
}
535-
}
536-
537529
impl<'a> CanDeriveDefault<'a> for Type {
538530
type Extra = &'a Item;
539531

0 commit comments

Comments
 (0)