Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
-rw-r--r--crates/syntax/rust.ungram4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram
index 1c15a606f9..08c8749e36 100644
--- a/crates/syntax/rust.ungram
+++ b/crates/syntax/rust.ungram
@@ -46,6 +46,7 @@ GenericArg =
| AssocTypeArg
| LifetimeArg
| ConstArg
+| ReturnTypeArg
TypeArg =
Type
@@ -59,6 +60,9 @@ LifetimeArg =
ConstArg =
Expr
+ReturnTypeArg =
+ NameRef '(' '..' ')' ':' TypeBoundList
+
MacroCall =
Attr* Path '!' TokenTree ';'?