From 8fe7539bb2b46001f70751f1db60e1a7144f8f3d Mon Sep 17 00:00:00 2001 From: Aatif Syed Date: Fri, 26 Apr 2024 13:04:00 +0200 Subject: [PATCH] fix: ambiguous associated type in forward_to_deserialize_any! --- serde/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/macros.rs b/serde/src/macros.rs index a8fd85a37..9646cb375 100644 --- a/serde/src/macros.rs +++ b/serde/src/macros.rs @@ -123,7 +123,7 @@ macro_rules! forward_to_deserialize_any { macro_rules! forward_to_deserialize_any_method { ($func:ident<$l:tt, $v:ident>($($arg:ident : $ty:ty),*)) => { #[inline] - fn $func<$v>(self, $($arg: $ty,)* visitor: $v) -> $crate::__private::Result<$v::Value, Self::Error> + fn $func<$v>(self, $($arg: $ty,)* visitor: $v) -> $crate::__private::Result<$v::Value, >::Error> where $v: $crate::de::Visitor<$l>, {