I am learning serde and reading its document of implementing a custom deserializer. All goes well, until I added a definition of a wrapper struct in the test_struct
function.
See line 735 in the code.
Then rustc complained about the lifetime comflicting in the process of deriving Deserialize
for struct Wrapper<‘a>( Test<‘a> )
.
Why and how?