Skip to content
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 opened this issue Jan 7, 2017 · 0 comments
Open

Process derives before other attributes #111

dtolnay opened this issue Jan 7, 2017 · 0 comments

Comments

@dtolnay
Copy link
Contributor

dtolnay commented Jan 7, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant