aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-31 13:42:31 +0100
committerGitHub <[email protected]>2020-07-31 13:42:31 +0100
commit847a50e74e3e45ea84f38efb23788fa5a61566eb (patch)
tree0988b331b556d8d6a0e58e9c2b2a513e0ceb8d59 /xtask
parenteccb5d52d3c4b82b6b61e231aa137b4aeb8c94ec (diff)
parenta6527ed92cb7a1156b8a118f5790d8c5fd69ab41 (diff)
Merge #5620
5620: Finalize Types grammar r=matklad a=matklad Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar... bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/codegen/rust.ungram2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 5dee85c2d..4015e3890 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -231,7 +231,7 @@ InferType =
231 '_' 231 '_'
232 232
233FnPointerType = 233FnPointerType =
234 Abi 'unsafe'? 'fn' ParamList RetType? 234 'const'? 'async'? 'unsafe'? Abi? 'fn' ParamList RetType?
235 235
236ForType = 236ForType =
237 'for' GenericParamList Type 237 'for' GenericParamList Type