Integrate attribute macros into source_to_def #9142
Labels
A-macro
macro expansion
A-nameres
name, path and module resolution
S-actionable
Someone could pick this issue up and work on it right now
Currently, rust-analyzer does not work inside items with attribute macros when they are enabled. This is because we never add the item to the child-by-source map of the parent, because the item is replaced by the macro expansion.
This might be a bit tricky to fix, because syntactically these are still items, but semantically they're macro invocations.
The text was updated successfully, but these errors were encountered: