-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-syntaxextArea: Syntax extensionsArea: Syntax extensionsP-lowLow priorityLow priority
Description
In #6686 I added an error, but the span is incorrect. Ideally it would cover the use of the unknown variable and not the m
in macro_rules!
.
erickt | maybe the caller of lookup_cur_matched has the span you are looking for?
erickt | if so, you could pass it in and use that for your error message
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-syntaxextArea: Syntax extensionsArea: Syntax extensionsP-lowLow priorityLow priority