Better error message for semicolon on last line of function #8005
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
P-medium
Medium priority
Milestone
Putting a semicolon on the last line of a non-void function produces
which is fairly confusing. It would be good to have a special error message for this common case.
The text was updated successfully, but these errors were encountered: