From 0d95ea126a49fbcb15a7b9261a34b20f81bf9970 Mon Sep 17 00:00:00 2001 From: MikuroXina Date: Wed, 8 Dec 2021 13:51:57 +0900 Subject: [PATCH] Derive some traits --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e5ebd804..b93c6ef0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2147,7 +2147,7 @@ fn ensure_libclang_is_loaded() { fn ensure_libclang_is_loaded() {} /// Error type for rust-bindgen. -#[derive(Debug)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum BindgenError { /// The header was a folder.