| commit | e86b9cf2259dab6fe9f61d4efc85ce379c9bea63 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun May 10 14:24:29 2020 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun May 10 14:26:04 2020 -0700 |
| tree | 3580d620cda18d5a533635b99f13c9c4ea722c89 | |
| parent | 6cadf70b5833f511e3cc902e6ddbe10ab620f447 [diff] [blame] |
Update derive parsing to produce structured representation
diff --git a/syntax/mod.rs b/syntax/mod.rs index 3eb6c6e..9e4cbbc 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -46,7 +46,7 @@ pub struct Struct { pub doc: Doc, - pub derives: Vec<Ident>, + pub derives: Vec<Derive>, pub struct_token: Token![struct], pub ident: Ident, pub brace_token: Brace,