You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match nix::unistd::read(*self.stdio.stdin.get_ref().0,self.buf){Err(nix::Error::Sys(nix::errno::EWOULDBLOCK)) => {
...},
...}
produces:
src/lib.rs|84 col 37 warning| to use a constant of type `nix::Errno` in a pattern, `nix::Errno` must be annotated with `#[derive(PartialEq, Eq)]`, #[warn(illegal_struct_or_e
num_constant_pattern)] on by default
|| this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|| for more information, see RFC 1445 <https://github.com/rust-lang/rfcs/pull/1445>
I'm not exactly sure if I do the matching the best way.
The text was updated successfully, but these errors were encountered:
807: Switch to libc definitons of errno constants r=Susurrus a=Susurrus
Still need to do OpenBSD and NetBSD. Primary goal with this first pass is to see what doesn't exist properly in `libc`.
Closes#487.
produces:
I'm not exactly sure if I do the matching the best way.
The text was updated successfully, but these errors were encountered: