Fix the uds_datagram tests with the latest nightly stdlib#3952
Conversation
io::ErrorKind just replaced most uses of "Other" with "Uncategorized" and prohibits users from matching on "Uncategorized". So match on the errno instead. rust-lang/rust#85746
191838b to
fb7e888
Compare
fb7e888 to
3830582
Compare
If our CI setup passes with the current list, then we can merge it as is. Of course, if you are aware of any missing errnos, then it'd be nice to add them immediately. |
Your CI setup passes because it doesn't test on the latest nightly. I'm not aware of any missing errnos, because I haven't tested on any OS but FreeBSD. But eventually somebody will. |
|
Right, good point. Let's merge #3953 first. |
io::ErrorKind just replaced most uses of "Other" with "Uncategorized"
and prohibits users from matching on "Uncategorized". So match on the
errno instead.
rust-lang/rust#85746
Motivation
Fix tests on the latest nightly stdlib
Solution
Don't match io::Error::Errorkind to Other or Uncategorized.