From e305bbbad11ef6851d2efd7934af4f02c5700b31 Mon Sep 17 00:00:00 2001 From: Zheng Li <875543533@qq.com> Date: Sat, 28 Sep 2024 18:25:19 +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 92b8d9f2..e130b05c 100644 --- a/axum-macros/src/from_request.rs +++ b/axum-macros/src/from_request.rs @@ -952,7 +952,7 @@ fn impl_enum_by_extracting_all_at_once( req: ::axum::http::Request<::axum::body::Body>, state: &#state, ) -> ::std::result::Result { - <#path::<#ident> as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state) + <#path::<#ident> as ::axum::extract::FromRequest<#trait_generics, _>>::from_request(req, state) .await .map(|#path(inner)| inner) .map_err(#map_err)