Skip to content

Goto definition on macro-by-example call should jump to the macro arm that matches #4028

@matklad

Description

@matklad
macro_rules! m {
  (a) => ();
  (b) => (); // .. should land here
}

m!(b);  // goto def here ...

Not something we need to implement right now, but eventually I'd love to see this

Metadata

Metadata

Assignees

Labels

A-macromacro expansionE-hardS-actionableSomeone could pick this issue up and work on it right nowfunA technically challenging issue with high impact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions