diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 4e523da9a..abeffb2c3 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -272,6 +272,9 @@ Grammar( | |||
272 | "DynTraitType", | 272 | "DynTraitType", |
273 | ]), | 273 | ]), |
274 | 274 | ||
275 | "NominalDef": ( enum: ["StructDef", "EnumDef"]), | 275 | "NominalDef": ( |
276 | enum: ["StructDef", "EnumDef"], | ||
277 | traits: [ "AttrsOwner" ], | ||
278 | ), | ||
276 | }, | 279 | }, |
277 | ) | 280 | ) |