diff --git a/core/lib/src/request/from_request.rs b/core/lib/src/request/from_request.rs index dc269db7..cd769b84 100644 --- a/core/lib/src/request/from_request.rs +++ b/core/lib/src/request/from_request.rs @@ -427,7 +427,7 @@ impl<'a, 'r> FromRequest<'a, 'r> for SocketAddr { } impl<'a, 'r, T: FromRequest<'a, 'r>> FromRequest<'a, 'r> for Result { - type Error = T::Error; + type Error = !; fn from_request(request: &'a Request<'r>) -> Outcome { match T::from_request(request) {