Skip to content

Commit 7b44ce1

Browse files
committed
Add GenericParamList to AssocTypeArg
1 parent c2d6982 commit 7b44ce1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/rust-analyzer/lib/ungrammar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ungrammar"
33
description = "A DSL for describing concrete syntax trees"
4-
version = "1.14.1"
4+
version = "1.14.2"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

src/tools/rust-analyzer/lib/ungrammar/rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ TypeArg =
5151
Type
5252

5353
AssocTypeArg =
54-
NameRef (':' TypeBoundList | '=' Type)
54+
NameRef GenericParamList? (':' TypeBoundList | '=' Type)
5555

5656
LifetimeArg =
5757
Lifetime

0 commit comments

Comments
 (0)