diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 8a2b780f0..6ed658daa 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -275,6 +275,7 @@ Grammar( | |||
275 | options: [ "ItemList" ] | 275 | options: [ "ItemList" ] |
276 | ), | 276 | ), |
277 | "ItemList": ( | 277 | "ItemList": ( |
278 | traits: [ "FnDefOwner" ], | ||
278 | collections: [ ["items", "ModuleItem"] ] | 279 | collections: [ ["items", "ModuleItem"] ] |
279 | ), | 280 | ), |
280 | "ConstDef": ( traits: [ | 281 | "ConstDef": ( traits: [ |