We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CanDeriveDebug
1 parent 9720520 commit d10b68eCopy full SHA for d10b68e
src/ir/ty.rs
@@ -2,7 +2,7 @@
2
3
use super::comp::CompInfo;
4
use super::context::{BindgenContext, ItemId};
5
-use super::derive::{CanDeriveCopy, CanDeriveDebug, CanDeriveDefault};
+use super::derive::{CanDeriveCopy, CanDeriveDefault};
6
use super::dot::DotAttributes;
7
use super::enum_ty::Enum;
8
use super::function::FunctionSig;
@@ -526,14 +526,6 @@ impl TemplateParameters for TypeKind {
526
}
527
528
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
537
impl<'a> CanDeriveDefault<'a> for Type {
538
type Extra = &'a Item;
539
0 commit comments