Skip to content

Spurious "empty trait list in derive" warnings with 1.14.0-nightly (ad19c32a5 2016-10-06) #37033

Closed
@nox

Description

@nox

With an old-style Foo derive plugin, #[derive(Foo)] triggers a warning about an empty trait list.

For example in Servo:

warning: empty trait list in `derive`
   --> /Users/nox/src/servo/components/script/script_runtime.rs:115:3
    |
115 | #[derive(JSTraceable, HeapSizeOf)]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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