| commit | 16e2620fe51032d789770b489e27a9c6c27719ef | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 19:28:37 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 19:45:21 2020 -0800 |
| tree | 0dfd6953510abec47c7ba7cfd28de4f2778a4d38 | |
| parent | ecce017e140ed3b9cf7ed045b55e0fb847d5b949 [diff] [blame] |
Add ExternType derive for opaque Rust types
diff --git a/syntax/mod.rs b/syntax/mod.rs index bd7efc0..e8288a9 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -67,7 +67,9 @@ } pub struct ExternType { + pub lang: Lang, pub doc: Doc, + pub derives: Vec<Derive>, pub type_token: Token![type], pub name: Pair, pub semi_token: Token![;],