From b868ff99d7b385a3cd9d162b44ae70254b60eee8 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Thu, 3 Oct 2019 13:40:43 +1000 Subject: Build the rustified_non_exhaustive_enums RegexSet. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index f7957d84..e37aa29e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1408,6 +1408,7 @@ struct BindgenOptions { /// The enum patterns to mark an enum as a Rust enum. rustified_enums: RegexSet, + /// The enum patterns to mark an enum as a non-exhaustive Rust enum. rustified_non_exhaustive_enums: RegexSet, /// The enum patterns to mark an enum as a module of constants. @@ -1620,6 +1621,7 @@ impl BindgenOptions { &mut self.constified_enums, &mut self.constified_enum_modules, &mut self.rustified_enums, + &mut self.rustified_non_exhaustive_enums, &mut self.no_partialeq_types, &mut self.no_copy_types, &mut self.no_hash_types, -- cgit v1.2.3