| commit | 15bf509509ba10233ab43936185a5f7de2f3d92b | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Apr 21 18:16:38 2021 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Apr 21 18:21:56 2021 -0700 |
| tree | 9642850e8183b265f3d4ef401b275a1352d2d856 | |
| parent | e17bb0257bf0b78d08756fc398fe993e5a842b8f [diff] [blame] |
Parse #![variants_from_header] inner attribute
diff --git a/syntax/mod.rs b/syntax/mod.rs index 96aa4c9..1eae19e 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -111,6 +111,7 @@ pub generics: Lifetimes, pub brace_token: Brace, pub variants: Vec<Variant>, + pub variants_from_header: bool, pub repr: Atom, pub repr_type: Type, pub explicit_repr: bool,