Ignore warning about variant never being constructed. It's being used

elsewhere. Not sure why that isn't being picked up.
This commit is contained in:
Shane Handley 2019-10-26 08:50:52 +09:00 committed by timokoesters
parent 4330b33ce0
commit 0fabe70960
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -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,