about summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-with-1.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-11/+0
2020-02-14Suggest a comma if a struct initializer field fails to parseAaron Hill-2/+3
Currently, we emit a "try adding a comma" suggestion if a comma is missing in a struct definition. However, we emit no such suggestion if a comma is missing in a struct initializer. This commit adds a "try adding a comma" suggestion when we don't find a comma during the parsing of a struct initializer field. The change to `src/test/ui/parser/removed-syntax-with-1.stderr` isn't great, but I don't see a good way of avoiding it.
2019-11-06Remove "here" from "expected one of X here"Esteban Küber-1/+1
2019-01-21Accept more invalid code that is close to correct fieldsEsteban Küber-9/+2
2019-01-20Tweak field parse error recoveryEsteban Küber-2/+2
2019-01-20Recover from parse errors in struct literal fieldsEsteban Küber-1/+3
Attempt to recover from parse errors while parsing a struct's literal fields by skipping tokens until a comma or the closing brace is found. This allows errors in other fields to be reported.
2019-01-06tests: Do not use `-Z parse-only`, continue compilation to test recoveryVadim Petrochenkov-2/+9
2018-12-25Remove licensesMark Rousskov-1/+1
2018-10-21Move parse-fail tests to UIVadim Petrochenkov-0/+8