Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
| -rw-r--r-- | crates/syntax/rust.ungram | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram index 88d7beb897..70a91af6c4 100644 --- a/crates/syntax/rust.ungram +++ b/crates/syntax/rust.ungram @@ -279,6 +279,11 @@ Adt = | Struct | Union +VariantDef = + Struct +| Union +| Variant + Const = Attr* Visibility? 'default'? |