summary refs log tree commit diff
path: root/src/test/parse-fail/issue-22647.rs
AgeCommit message (Collapse)AuthorLines
2017-12-21Do not emit type errors on recovered blocksEsteban Küber-1/+0
When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user.
2017-11-24Suggest macro call when not sure that it is fn definitionEsteban Küber-0/+1
2015-04-02syntax: Rewrite parsing of patternsVadim Petrochenkov-1/+1
2015-02-24Add tests for expect ident but find enum or struct panicEdward Wang-0/+25
Closes #22589 Closes #22647 Closes #22665 Closes #22712