Skip to content

Commit 75e5dad

Browse files
winstxnhdwVeykril
andauthored
fix: use cannot have optional generics
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
1 parent a0e1256 commit 75e5dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/syntax/rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ TypeBoundList =
629629
TypeBound =
630630
Lifetime
631631
| ('~' 'const' | 'const')? 'async'? '?'? Type
632-
| 'use' GenericParamList?
632+
| 'use' GenericParamList
633633

634634
//************************//
635635
// Patterns //

0 commit comments

Comments
 (0)