Skip to content

Commit 3496d7e

Browse files
committed
Admit turbofish and path-segment keywords in associated item constraints
1 parent b217e61 commit 3496d7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ GenericArgsConst ->
7171
| SimplePathSegment
7272
7373
GenericArgsBinding ->
74-
IDENTIFIER GenericArgs? `=` Type
74+
TypePathSegment `=` Type
7575
7676
GenericArgsBounds ->
77-
IDENTIFIER GenericArgs? `:` Bounds
77+
TypePathSegment `:` Bounds
7878
```
7979

8080
r[paths.expr.intro]

0 commit comments

Comments
 (0)