summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/ty.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ir/ty.rs b/src/ir/ty.rs
index b189ceac..1c213569 100644
--- a/src/ir/ty.rs
+++ b/src/ir/ty.rs
@@ -2,7 +2,7 @@
use super::comp::CompInfo;
use super::context::{BindgenContext, ItemId};
-use super::derive::{CanDeriveCopy, CanDeriveDebug, CanDeriveDefault};
+use super::derive::{CanDeriveCopy, CanDeriveDefault};
use super::dot::DotAttributes;
use super::enum_ty::Enum;
use super::function::FunctionSig;
@@ -526,14 +526,6 @@ impl TemplateParameters for TypeKind {
}
}
-impl CanDeriveDebug for Type {
- type Extra = Item;
-
- fn can_derive_debug(&self, ctx: &BindgenContext, item: Item) -> bool {
- ctx.lookup_item_id_can_derive_debug(item.id())
- }
-}
-
impl<'a> CanDeriveDefault<'a> for Type {
type Extra = &'a Item;