diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 83b56c349..e56496be1 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -299,7 +299,11 @@ Grammar( | |||
299 | 299 | ||
300 | "NominalDef": ( | 300 | "NominalDef": ( |
301 | enum: ["StructDef", "EnumDef"], | 301 | enum: ["StructDef", "EnumDef"], |
302 | traits: [ "AttrsOwner", "TypeParamsOwner" ], | 302 | traits: [ |
303 | "NameOwner", | ||
304 | "TypeParamsOwner", | ||
305 | "AttrsOwner" | ||
306 | ], | ||
303 | ), | 307 | ), |
304 | 308 | ||
305 | "Name": (), | 309 | "Name": (), |