Skip to content

Commit 5685440

Browse files
MikuroXinaemilio
authored andcommitted
Add non_exhaustive
1 parent c9495fa commit 5685440

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,7 @@ fn ensure_libclang_is_loaded() {}
21542154

21552155
/// Error type for rust-bindgen.
21562156
#[derive(Debug)]
2157+
#[non_exhaustive]
21572158
pub enum BindgenError {
21582159
/// Any provided header was invalid.
21592160
InvalidHeader(String),

0 commit comments

Comments
 (0)