about summary refs log tree commit diff
path: root/tests/ui/parser/missing-fat-arrow.stderr
AgeCommit message (Collapse)AuthorLines
2023-10-04review commentsEsteban Küber-5/+5
2023-10-03Detect missing `=>` after match guard during parsingEsteban Küber-0/+78
``` error: expected one of `,`, `:`, or `}`, found `.` --> $DIR/missing-fat-arrow.rs:25:14 | LL | Some(a) if a.value == b { | - while parsing this struct LL | a.value = 1; | -^ expected one of `,`, `:`, or `}` | | | while parsing this struct field | help: try naming a field | LL | a: a.value = 1; | ++ help: you might have meant to start a match arm after the match guard | LL | Some(a) if a.value == b => { | ++ ``` Fix #78585.