diff --git a/axum-macros/src/from_request.rs b/axum-macros/src/from_request.rs index 9bfa6d05b78..2b0f2de5dd0 100644 --- a/axum-macros/src/from_request.rs +++ b/axum-macros/src/from_request.rs @@ -633,7 +633,7 @@ fn extract_fields( quote_spanned! {ty_span=> #member: { - <#field_ty as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state) + #field_ty::from_request(req, state) .await .map(#into_inner) .map_err(#map_err)?