When a macro isn't found, suggest calling a function with the same name #103112
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 (playground):
The current output is:
Ideally the output should include:
Motivation
Note that the opposite mistake, trying to use a macro without the
!
:gives:
Related issues
This would complement #102601 (suggesting alternative paths when a macro isn't found)
The text was updated successfully, but these errors were encountered: