Skip to content

If an error is not affected by a macro, don't print macro notes #30506

Closed
@nrc

Description

@nrc

e.g.,

foo!(fasdfas);

If there is an error about fasdfas it should just use the span for fasdfas, and not print anything about foo!.

cc @DanielJCampbell

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsA-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions