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

Optional comment casues ICE #123

Open
Buzzec opened this issue Mar 19, 2021 · 1 comment
Open

Optional comment casues ICE #123

Buzzec opened this issue Mar 19, 2021 · 1 comment

Comments

@Buzzec
Copy link

Buzzec commented Mar 19, 2021

The comment on https://serde.rs/deserialize-struct.html# that states

// This part could also be generated independently by:
//
//    #[derive(Deserialize)]
//    #[serde(field_identifier, rename_all = "lowercase")]
//    enum Field { Secs, Nanos }

Causes an internal compiler error of thread 'rustc' has overflowed its stack fatal runtime error: stack overflow
Playground Link

This is consistent with rust-lang/rust#81844.

@Buzzec
Copy link
Author

Buzzec commented Mar 21, 2021

Consistent issue was duplicate of rust-lang/rust#55779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant