From 8d82d1551ee09faa5d46a58c17c40c2515d3f3b9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 22 Aug 2018 19:02:37 +0300 Subject: Extend add impl --- crates/libsyntax2/src/grammar.ron | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/libsyntax2/src/grammar.ron') diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index e56496be1..daf80dde3 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron @@ -310,7 +310,8 @@ Grammar( "NameRef": (), "Attr": ( options: [ ["value", "TokenTree"] ] ), "TokenTree": (), - "TypeParamList": (), + "TypeParamList": ( collections: [ ["type_params", "TypeParam" ] ]), + "TypeParam": ( traits: ["NameOwner"]), "WhereClause": (), }, ) -- cgit v1.2.3