Unnamed repository; edit this file 'description' to name the repository.
Add GenericParamList to AssocTypeArg
Lukas Wirth 2021-07-17
parent 4457576 · commit 4cd55e1
-rw-r--r--lib/ungrammar/Cargo.toml2
-rw-r--r--lib/ungrammar/rust.ungram2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ungrammar/Cargo.toml b/lib/ungrammar/Cargo.toml
index 18c9dffecf..99b020548b 100644
--- a/lib/ungrammar/Cargo.toml
+++ b/lib/ungrammar/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "ungrammar"
description = "A DSL for describing concrete syntax trees"
-version = "1.14.1"
+version = "1.14.2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/ungrammar"
authors = ["Aleksey Kladov <[email protected]>"]
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram
index ce8e9367ec..2ac52ddcb5 100644
--- a/lib/ungrammar/rust.ungram
+++ b/lib/ungrammar/rust.ungram
@@ -51,7 +51,7 @@ TypeArg =
Type
AssocTypeArg =
- NameRef (':' TypeBoundList | '=' Type)
+ NameRef GenericParamList? (':' TypeBoundList | '=' Type)
LifetimeArg =
Lifetime