aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram5
1 files changed, 1 insertions, 4 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index a97cc80e9..42ef2fb82 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -182,10 +182,7 @@ Visibility =
182 ')')? 182 ')')?
183 183
184Attr = 184Attr =
185 '#' '!'? '[' Path ('=' input:AttrInput)? ']' 185 '#' '!'? '[' Path ('=' Literal | TokenTree)? ']'
186
187AttrInput =
188 Literal | TokenTree
189 186
190ParenType = 187ParenType =
191 '(' TypeRef ')' 188 '(' TypeRef ')'