aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-31 19:29:21 +0100
committerGitHub <[email protected]>2020-07-31 19:29:21 +0100
commit215b9b9cccd66c9e9413e7581931371daa0c94e5 (patch)
tree342258c6744a6ec8189b9910f2b3bb7efd73f06b /xtask/src/codegen/rust.ungram
parent38ab326aac70484cb951fe9389d788d525d41550 (diff)
parentaf53d5f4b081ad50d8fe08fc1e107aa6025b2491 (diff)
Merge #5632
5632: Cleanup impl gramamr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram11
1 files changed, 5 insertions, 6 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 7685f4f06..25d6f7a20 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -194,12 +194,11 @@ AssocItem =
194| TypeAlias 194| TypeAlias
195 195
196Impl = 196Impl =
197 Attr* Visibility? 197 Attr* Visibility?
198 'default'? 'unsafe'? 'impl' 'const'? GenericParamList? ( 198 'default'? 'unsafe'? 'impl' 'const'? GenericParamList?
199 Type 199 ('!'? target_trait:Type 'for')? target_type:Type
200 | '!'? Type 'for' Type 200 WhereClause?
201 ) WhereClause? 201 AssocItemList
202 AssocItemList
203 202
204ExternBlock = 203ExternBlock =
205 Attr* Abi ExternItemList 204 Attr* Abi ExternItemList