We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dce34a commit ceca945Copy full SHA for ceca945
xtask/src/codegen/rust.ungram
@@ -173,6 +173,14 @@ ConstParam =
173
LifetimeParam =
174
Attr* 'lifetime'
175
176
+Visibility =
177
+ 'pub' ('('
178
+ 'super'
179
+ | 'self'
180
+ | 'crate'
181
+ | 'in' Path
182
+ ')')?
183
+
184
ParenType =
185
'(' TypeRef ')'
186
@@ -391,9 +399,6 @@ TupleStructPat =
391
399
TuplePat =
392
400
'(' args:Pat* ')'
393
401
394
-Visibility =
395
- 'pub' ('(' 'super' | 'self' | 'crate' | 'in' Path ')')?
396
-
397
402
Name =
398
403
'ident'
404
0 commit comments