diff --git a/src/client/connect/mod.rs b/src/client/connect/mod.rs index 4815524811..6b4a04acf7 100644 --- a/src/client/connect/mod.rs +++ b/src/client/connect/mod.rs @@ -448,6 +448,7 @@ pub(super) mod sealed { fn connect(self, internal_only: Internal, dst: Uri) -> ::Future; } + #[allow(unreachable_pub)] pub trait ConnectSvc { type Connection: AsyncRead + AsyncWrite + Connection + Unpin + Send + 'static; type Error: Into>;