Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Process derives before other attributes #111

Open
@dtolnay

Description

Moved from serde-rs/serde#612.

#[serde(deny_unknown_fields)]
#[derive(Deserialize)]
pub struct SomeStruct {
    /* ... */
}

This works in Macros 1.1 expansion but not with Syntex. Macros 1.1 expands derives ahead of other attributes and we should do the same.

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