aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar.ron
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r--crates/libsyntax2/src/grammar.ron8
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index 6ed658daa..77ae4c7db 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -238,9 +238,8 @@ Grammar(
238 ], 238 ],
239 ast: { 239 ast: {
240 "Root": ( 240 "Root": (
241 traits: [ "FnDefOwner" ], 241 traits: [ "ModuleItemOwner", "FnDefOwner" ],
242 collections: [ 242 collections: [
243 ["items", "ModuleItem"],
244 ["modules", "Module"], 243 ["modules", "Module"],
245 ] 244 ]
246 ), 245 ),
@@ -271,12 +270,11 @@ Grammar(
271 ] ), 270 ] ),
272 "TraitDef": ( traits: ["NameOwner", "AttrsOwner"] ), 271 "TraitDef": ( traits: ["NameOwner", "AttrsOwner"] ),
273 "Module": ( 272 "Module": (
274 traits: ["NameOwner", "AttrsOwner", "FnDefOwner" ], 273 traits: ["NameOwner", "AttrsOwner" ],
275 options: [ "ItemList" ] 274 options: [ "ItemList" ]
276 ), 275 ),
277 "ItemList": ( 276 "ItemList": (
278 traits: [ "FnDefOwner" ], 277 traits: [ "FnDefOwner", "ModuleItemOwner" ],
279 collections: [ ["items", "ModuleItem"] ]
280 ), 278 ),
281 "ConstDef": ( traits: [ 279 "ConstDef": ( traits: [
282 "NameOwner", 280 "NameOwner",