Using a macro as the tail expression in a function that doesn't return a value should prompt to add a semicolon #100889
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Note that the
subpar
function does not have help for adding a semicolon.Ideally the output should look like:
Note that the
subpar
function now has help for adding a semicolon.The text was updated successfully, but these errors were encountered: