@@ -768,6 +768,7 @@ fn desc(errno: Errno) -> &'static str {
768768mod consts {
769769 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
770770 #[ repr( i32 ) ]
771+ #[ non_exhaustive]
771772 pub enum Errno {
772773 UnknownErrno = 0 ,
773774 EPERM = libc:: EPERM ,
@@ -1073,6 +1074,7 @@ mod consts {
10731074mod consts {
10741075 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
10751076 #[ repr( i32 ) ]
1077+ #[ non_exhaustive]
10761078 pub enum Errno {
10771079 UnknownErrno = 0 ,
10781080 EPERM = libc:: EPERM ,
@@ -1324,6 +1326,7 @@ mod consts {
13241326mod consts {
13251327 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
13261328 #[ repr( i32 ) ]
1329+ #[ non_exhaustive]
13271330 pub enum Errno {
13281331 UnknownErrno = 0 ,
13291332 EPERM = libc:: EPERM ,
@@ -1562,6 +1565,7 @@ mod consts {
15621565mod consts {
15631566 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
15641567 #[ repr( i32 ) ]
1568+ #[ non_exhaustive]
15651569 pub enum Errno {
15661570 UnknownErrno = 0 ,
15671571 EPERM = libc:: EPERM ,
@@ -1796,6 +1800,7 @@ mod consts {
17961800mod consts {
17971801 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
17981802 #[ repr( i32 ) ]
1803+ #[ non_exhaustive]
17991804 pub enum Errno {
18001805 UnknownErrno = 0 ,
18011806 EPERM = libc:: EPERM ,
@@ -2019,6 +2024,7 @@ mod consts {
20192024mod consts {
20202025 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
20212026 #[ repr( i32 ) ]
2027+ #[ non_exhaustive]
20222028 pub enum Errno {
20232029 UnknownErrno = 0 ,
20242030 EPERM = libc:: EPERM ,
@@ -2244,6 +2250,7 @@ mod consts {
22442250mod consts {
22452251 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
22462252 #[ repr( i32 ) ]
2253+ #[ non_exhaustive]
22472254 pub enum Errno {
22482255 UnknownErrno = 0 ,
22492256 EPERM = libc:: EPERM ,
@@ -2441,6 +2448,7 @@ mod consts {
24412448mod consts {
24422449 #[ derive( Clone , Copy , Debug , Eq , PartialEq ) ]
24432450 #[ repr( i32 ) ]
2451+ #[ non_exhaustive]
24442452 pub enum Errno {
24452453 UnknownErrno = 0 ,
24462454 EPERM = libc:: EPERM ,
0 commit comments