We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c478f commit 26d7f0aCopy full SHA for 26d7f0a
tests/expectations/tests/issue-1554.rs
@@ -6,6 +6,9 @@
6
non_camel_case_types,
7
non_upper_case_globals
8
)]
9
+#![cfg(feature = "nightly")]
10
+#![feature(non_exhaustive)]
11
+
12
13
#[repr(u32)]
14
#[non_exhaustive]
tests/headers/issue-1554.h
@@ -1,4 +1,4 @@
1
-// bindgen-flags: --default-enum-style rust_non_exhaustive
+// bindgen-flags: --default-enum-style rust_non_exhaustive --raw-line '#![cfg(feature = "nightly")]' --raw-line '#![feature(non_exhaustive)]'
2
3
enum Planet {
4
earth,
0 commit comments