Skip to content

Optional comment casues ICE #123

Open
@Buzzec

Description

@Buzzec

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions