diff options
author | Cameron McCormack <cam@mcc.id.au> | 2019-10-03 13:40:43 +1000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-10-04 03:25:33 +0200 |
commit | b868ff99d7b385a3cd9d162b44ae70254b60eee8 (patch) | |
tree | 46b1127384d2add8e78fed7577cd6ea2aae6a20b | |
parent | 9e37673c10a58c5c851f8392acf44d6ca3218abd (diff) |
Build the rustified_non_exhaustive_enums RegexSet.
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |