Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
| -rw-r--r-- | crates/syntax/rust.ungram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram index 3101a254e3..e1c91c41e6 100644 --- a/crates/syntax/rust.ungram +++ b/crates/syntax/rust.ungram @@ -305,7 +305,7 @@ VariantList = Variant = Attr* Visibility? - Name FieldList? ('=' ConstArg)? + (Name | '_') FieldList? ('=' ConstArg)? Union = Attr* Visibility? |