File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ pub(super) enum User {
132132 ) ) ]
133133 BodyWriteAborted ,
134134 /// User tried to send a connect request with a nonzero body
135- #[ cfg( all( any ( feature = "client" , feature = "server" ) , feature = "http2" ) ) ]
135+ #[ cfg( all( feature = "client" , feature = "http2" ) ) ]
136136 InvalidConnectWithBody ,
137137 /// Error from future of user's Service.
138138 #[ cfg( any(
@@ -398,7 +398,7 @@ impl Error {
398398 Error :: new_user ( User :: Body ) . with ( cause)
399399 }
400400
401- #[ cfg( all( any ( feature = "client" , feature = "server" ) , feature = "http2" ) ) ]
401+ #[ cfg( all( feature = "client" , feature = "http2" ) ) ]
402402 pub ( super ) fn new_user_invalid_connect ( ) -> Error {
403403 Error :: new_user ( User :: InvalidConnectWithBody )
404404 }
@@ -500,7 +500,7 @@ impl Error {
500500 feature = "ffi"
501501 ) ) ]
502502 Kind :: User ( User :: BodyWriteAborted ) => "user body write aborted" ,
503- #[ cfg( all( any ( feature = "client" , feature = "server" ) , feature = "http2" ) ) ]
503+ #[ cfg( all( feature = "client" , feature = "http2" ) ) ]
504504 Kind :: User ( User :: InvalidConnectWithBody ) => {
505505 "user sent CONNECT request with non-zero body"
506506 }
You can’t perform that action at this time.
0 commit comments