Skip to content

Commit 5af51fa

Browse files
winstxnhdwVeykril
andauthored
fix: use cannot have optional generics
Co-authored-by: Lukas Wirth <[email protected]>
1 parent 4a91453 commit 5af51fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/syntax/rust.ungram

+1-1
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)