From 5af51fa47610d0f88dcab99aaaff2ee4fca17c00 Mon Sep 17 00:00:00 2001 From: "Winston H." <56998716+winstxnhdw@users.noreply.github.com> Date: Wed, 24 Jul 2024 10:42:20 +0100 Subject: [PATCH] fix: `use` cannot have optional generics Co-authored-by: Lukas Wirth --- crates/syntax/rust.ungram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram index 272796bb3b..c23bcd6914 100644 --- a/crates/syntax/rust.ungram +++ b/crates/syntax/rust.ungram @@ -629,7 +629,7 @@ TypeBoundList = TypeBound = Lifetime | ('~' 'const' | 'const')? 'async'? '?'? Type -| 'use' GenericParamList? +| 'use' GenericParamList //************************// // Patterns //