Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panics in the impls #109

Open
l4l opened this issue Nov 29, 2024 · 0 comments
Open

Panics in the impls #109

l4l opened this issue Nov 29, 2024 · 0 comments

Comments

@l4l
Copy link

l4l commented Nov 29, 2024

Somehow I managed to trigger this impl and got obscure panic. Not sure it's a good thing to expose. So far unable to figure out MRE and what's the type being serialized.

unimplemented!()

relevant part of backtrace
<erased_serde::ser::ErrorImpl as core::fmt::Display>::fmt::hc8c6fe14588e20be at /cache/.cargo/registry/src/index.crates.io-6f17d22bba15001f/erased-serde-0.4.1/src/ser.rs:614"
erased_serde::ser::erase::hc7cfe0c86eb77e62 at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/string.rs:2558"
erased_serde::ser::TupleStruct::new::serialize_field::h76c454c8e4f8b766 at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250"
serde::ser::Serializer::collect_seq::h540571bac20a5049 at /cache/.cargo/registry/src/index.crates.io-6f17d22bba15001f/erased-serde-0.3.25/src/ser.rs:863"
<T as erased_serde::ser::Serialize>::erased_serialize::haf501a85bb7a2b29 at /cache/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.214/src/ser/impls.rs:184"
<T as erased_serde::ser::Serialize>::do_erased_serialize::he1ab125e8f834e15 at /cache/.cargo/registry/src/index.crates.io-6f17d22bba15001f/erased-serde-0.3.25/src/ser.rs:615"
<dyn erased_serde::ser::Serialize+core::marker::Send as serde::ser::Serialize>::serialize::h0a706e775be4dde7 at /cache/.cargo/registry/src/index.crates.io-6f17d22bba15001f/erased-serde-0.4.1/src/ser.rs:670"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant