about summary refs log tree commit diff
path: root/src/test/ui/parser/recover-missing-semi.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-37/+0
2020-05-15Remove redundant backtick in error message.Eric Huss-2/+2
The value passed in already has backticks surrounding the text.
2019-11-21Point at type in `let` assignment on type errorsEsteban Küber-2/+6
2019-11-18Surround types with backticks in type errorsEsteban Küber-2/+2
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-6/+0
2019-11-18review comments: tweak prefix stringsEsteban Küber-4/+4
2019-10-28Use heuristics to recover parsing of missing `;`Esteban Küber-10/+10
- Detect `,` and `:` typos where `;` was intended. - When the next token could have been the start of a new statement, detect a missing semicolon.
2019-04-11review commentsEsteban Küber-2/+2
2019-04-10Recover from missing semicolon based on the found tokenEsteban Küber-0/+39
When encountering one of a few keywords when a semicolon was expected, suggest the semicolon and recover: ``` error: expected one of `.`, `;`, `?`, or an operator, found `let` --> $DIR/recover-missing-semi.rs:4:5 | LL | let _: usize = () | - help: missing semicolon here LL | LL | let _ = 3; | ^^^ error[E0308]: mismatched types --> $DIR/recover-missing-semi.rs:2:20 | LL | let _: usize = () | ^^ expected usize, found () | = note: expected type `usize` found type `()` ```