Skip to content

Problem with PartialEq #67369

Open
Open
@zakarumych

Description

@zakarumych

When I try to derive(PartialEq) for type I get weird compilation error in generated code, but I'm sure it should be fine.

Here's link to playground

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DSTsArea: Dynamically-sized types (DSTs)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions