From b46976f6619b62112dc58a2f2cf4bb540713a09f Mon Sep 17 00:00:00 2001 From: Zheng Li <875543533@qq.com> Date: Sat, 28 Sep 2024 18:25:06 +0800 Subject: [PATCH] Update axum-macros/src/from_request.rs Co-authored-by: Jonas Platte --- axum-macros/src/from_request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) },