Unnamed repository; edit this file 'description' to name the repository.
Merge rust-analyzer/ungrammar#44
44: Add `~const` bound to rust grammar r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
bors[bot] 2021-10-19
parent f270b7f · parent 8afbe18 · commit 5f93d91
-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 050459e109..8e732c8dd9 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.8"
+version = "1.14.9"
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/ungrammar"
edition = "2018"
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram
index 0af0f2521c..d2ef552ae9 100644
--- a/lib/ungrammar/rust.ungram
+++ b/lib/ungrammar/rust.ungram
@@ -573,7 +573,7 @@ TypeBoundList =
TypeBound =
Lifetime
-| '?'? Type
+| ('?' | '~' 'const')? Type
//************************//
// Patterns //