diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index 7ea3905bcf835..906bdc9e9f0e4 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -1423,6 +1423,12 @@ pub const ENOLINK: ::c_int = 95; pub const EPROTO: ::c_int = 96; pub const EOWNERDEAD: ::c_int = 97; pub const ENOTRECOVERABLE: ::c_int = 98; +#[deprecated( + since = "0.2.143", + note = "This value will always match the highest defined error number \ + and thus is not stable. \ + See #3040 for more info." +)] pub const ELAST: ::c_int = 98; pub const F_DUPFD_CLOEXEC: ::c_int = 12;