Closed bobyangyf closed 2 years ago
Looks like https://github.com/dtolnay/erased-serde/commit/0b99efeb5d6c26fc8160911beb0a4410effe8239 added the fn __check_erased_serialize_supertrait<__T, $($generics)*>() so that if generics contains a lifetime generic, __T would be declared before the lifetime, so that it would no longer compile.
fn __check_erased_serialize_supertrait<__T, $($generics)*>()
__T
I've published a fix in 0.3.20. Sorry about the breakage!
Looks like https://github.com/dtolnay/erased-serde/commit/0b99efeb5d6c26fc8160911beb0a4410effe8239 added the
fn __check_erased_serialize_supertrait<__T, $($generics)*>()
so that if generics contains a lifetime generic,__T
would be declared before the lifetime, so that it would no longer compile.