diff options
Diffstat (limited to 'crates/proc_macro_api/src')
-rw-r--r-- | crates/proc_macro_api/src/msg.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/proc_macro_api/src/msg.rs b/crates/proc_macro_api/src/msg.rs index 43d13a764..4cd572101 100644 --- a/crates/proc_macro_api/src/msg.rs +++ b/crates/proc_macro_api/src/msg.rs | |||
@@ -63,8 +63,7 @@ pub trait Message: Serialize + DeserializeOwned { | |||
63 | // Note that some proc-macro generate very deep syntax tree | 63 | // Note that some proc-macro generate very deep syntax tree |
64 | // We have to disable the current limit of serde here | 64 | // We have to disable the current limit of serde here |
65 | deserializer.disable_recursion_limit(); | 65 | deserializer.disable_recursion_limit(); |
66 | let deserializer = serde_stacker::Deserializer::new(&mut deserializer); | 66 | Some(Self::deserialize(&mut deserializer)?) |
67 | Some(Self::deserialize(deserializer)?) | ||
68 | } | 67 | } |
69 | }) | 68 | }) |
70 | } | 69 | } |