Skip to content

Eager macro breaks token mapping for arguments after a macro #14841

Closed
@HKalbasi

Description

@HKalbasi
let a = 2;
format!("{} {} {}", a, vec![2, 3], a);

Go to definition on the first a works correctly, but on the second a will go to the vector internals.

### Tasks

Metadata

Metadata

Assignees

Labels

A-macromacro expansionC-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions