]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #53360 - PramodBisht:issue/51602, r=estebank
authorkennytm <kennytm@gmail.com>
Thu, 16 Aug 2018 16:13:21 +0000 (00:13 +0800)
committerGitHub <noreply@github.com>
Thu, 16 Aug 2018 16:13:21 +0000 (00:13 +0800)
commit1cda84bfdbed2c14ae787cb41ebff1c166ac5fd9
treeb7b38447566584642f1f91f7126e2ae8d3da3001
parente6068828bddd8b756512e7f0af6d2126908c891f
parentb70be5bc7953007c333db510b5784c7a051a9b27
Rollup merge of #53360 - PramodBisht:issue/51602, r=estebank

Addressed #51602

Fixed #51602
r? @estebank

here I have addressed the case where `in` was not expected right after `if` block. Speaking of `type ascription` I am not sure if this the best approach which I have implemented. Plus I think one more test case can be added to test `type-ascription` case, though I don't have any at this point of time. I will ping you again if all existing testcases pass.
src/libsyntax/parse/parser.rs