You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it does look very similar. Which is weird as I have almost identical to #87932 code in another place, except the amount of enums and structs inside the fn deserialize (2 enums and 4 structs to be precise), and it doesn't cause any errors.
Getting a stack overflow error even on a simple
cargo check
if there's too many structs inside the implementation ofserde::Deserialize
trait.Project to reproduce: link to playground
But if I move all temporary structs out of the
fn deserialize<D>
method, the error goes away: working versionCrash dump from WinDbg: ~240MB
As far as I can tell, stack overflow happens somewhere inside
rustc_middle::ty::print::Printer
The text was updated successfully, but these errors were encountered: