diff --git a/axum-macros/src/from_request.rs b/axum-macros/src/from_request.rs index d204f730..92b8d9f2 100644 --- a/axum-macros/src/from_request.rs +++ b/axum-macros/src/from_request.rs @@ -843,7 +843,7 @@ fn impl_struct_by_extracting_all_at_once( req: ::axum::http::Request<::axum::body::Body>, state: &#state, ) -> ::std::result::Result { - <#via_path<#via_type_generics> as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state) + <#via_path<#via_type_generics> as ::axum::extract::FromRequest<#trait_generics, _>>::from_request(req, state) .await .map(|#via_path(value)| #value_to_self) .map_err(#map_err)