Skip to content

Commit

Permalink
Merge pull request #2732 from aatifsyed/master
Browse files Browse the repository at this point in the history
fix: ambiguous associated item in forward_to_deserialize_any!
  • Loading branch information
dtolnay committed Apr 27, 2024
2 parents f6623a3 + 8fe7539 commit 789740b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde/src/macros.rs
Expand Up @@ -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, <Self as $crate::de::Deserializer<$l>>::Error>
where
$v: $crate::de::Visitor<$l>,
{
Expand Down

0 comments on commit 789740b

Please sign in to comment.