-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not emit type error after parse error in last statement of block #57383
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
estebank
added a commit
to estebank/rust
that referenced
this issue
Jul 13, 2019
When recovering from a parse error inside a block, do not emit type errors generating on that block's recovered return expression. Fix rust-lang#57383.
bors
added a commit
that referenced
this issue
Jul 14, 2019
Do not emit type errors after parse error in last statement of block When recovering from a parse error inside a block, do not emit type errors generating on that block's recovered return expression. Fix #57383.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test/ui/parser/issue-19096.stderr
should not emit a type error.The text was updated successfully, but these errors were encountered: