summaryrefslogtreecommitdiff
path: root/test/sys/test_socket.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2017-07-20 20:00:00 +0200
committerJonas Schievink <jonasschievink@gmail.com>2017-12-04 20:29:40 +0100
commit512c35121e62062a802dadd787ee3dbda340a624 (patch)
tree3422316250d96771736e1c0b4666f2b57b3d49fc /test/sys/test_socket.rs
parent86ebf7b0eac4cd0d092b816060042c55ca8871c5 (diff)
downloadnix-512c35121e62062a802dadd787ee3dbda340a624.zip
Stop reexporting `Errno` and its variants
cc #664 (unsure if this is everything needed)
Diffstat (limited to 'test/sys/test_socket.rs')
-rw-r--r--test/sys/test_socket.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs
index 8ec7f1fd..d29b2ecb 100644
--- a/test/sys/test_socket.rs
+++ b/test/sys/test_socket.rs
@@ -242,7 +242,8 @@ pub fn test_unixdomain() {
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[test]
pub fn test_syscontrol() {
- use nix::{Errno, Error};
+ use nix::Error;
+ use nix::errno::Errno;
use nix::sys::socket::{AddressFamily, socket, SockAddr, SockType, SockFlag, SockProtocol};
let fd = socket(AddressFamily::System, SockType::Datagram,