Skip to content

deriving doesn't work inside function #4913

Description

@lifthrasiir

Example: (also confirmed by --pretty expanded)

fn main() {
    #[deriving(Eq)] struct x { x:int }
    x{x:4} == x{x:4};
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-syntaxextArea: Syntax extensions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions