fix: ambiguous associated type in forward_to_deserialize_any!

This commit is contained in:
Aatif Syed 2024-04-26 13:04:00 +02:00
parent f6623a3654
commit 8fe7539bb2

View File

@ -123,7 +123,7 @@ macro_rules! forward_to_deserialize_any {
macro_rules! forward_to_deserialize_any_method { macro_rules! forward_to_deserialize_any_method {
($func:ident<$l:tt, $v:ident>($($arg:ident : $ty:ty),*)) => { ($func:ident<$l:tt, $v:ident>($($arg:ident : $ty:ty),*)) => {
#[inline] #[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, <Self as $crate::de::Deserializer<$l>>::Error>
where where
$v: $crate::de::Visitor<$l>, $v: $crate::de::Visitor<$l>,
{ {