Skip to content

#[deriving(Anything)] fails silently #21166

@kornelski

Description

@kornelski

I've got bitten by:

#[deriving(Copy)]
struct Foo;

The compiler silently accepts this code, no warning at all, but nothing is derived.

(rustc 1.0.0-nightly (44a287e 2015-01-08 17:03:40 -0800))

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions