From 0fabe70960336721e45975c2917775d7d8ee5c41 Mon Sep 17 00:00:00 2001 From: Shane Handley Date: Sat, 26 Oct 2019 08:50:52 +0900 Subject: [PATCH] Ignore warning about variant never being constructed. It's being used elsewhere. Not sure why that isn't being picked up. --- voxygen/src/menu/main/client_init.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/voxygen/src/menu/main/client_init.rs b/voxygen/src/menu/main/client_init.rs index a53bfd3976..ff53f27006 100644 --- a/voxygen/src/menu/main/client_init.rs +++ b/voxygen/src/menu/main/client_init.rs @@ -13,6 +13,7 @@ pub enum Error { // Error parsing input string or error resolving host name. BadAddress(std::io::Error), // Parsing/host name resolution successful but could not connect. + #[allow(dead_code)] ConnectionFailed(ClientError), // Parsing yielded an empty iterator (specifically to_socket_addrs()). NoAddress,