diff --git a/axum-macros/src/from_request.rs b/axum-macros/src/from_request.rs index a2e38f4e..d204f730 100644 --- a/axum-macros/src/from_request.rs +++ b/axum-macros/src/from_request.rs @@ -618,7 +618,7 @@ fn extract_fields( let field_ty = into_outer(&via, ty_span, peel_result_ok(&field.ty).unwrap()); quote_spanned! {ty_span=> #member: { - <#field_ty as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state) + <#field_ty as ::axum::extract::FromRequest<#trait_generics, _>>::from_request(req, state) .await .map(#into_inner) },