Skip to content

Conversation

@chris-morgan
Copy link
Member

No description provided.

@chris-morgan
Copy link
Member Author

@alexcrichton: r? for new additional commit? (I deleted your previous r+.)

lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 19, 2023
internal: Lazy eager macros

This PR makes eager macros less eager. We now only eagerly expand the input of them, while the actual expansion of the macro itself now happens like other lazy macros.
This change allows unifying a lot of macro handling between the two now, most of the special casing now happens for `include!` specifically as it is a very unique macro (by having two inputs that come from differing files).
Fixes rust-lang/rust-analyzer#14841
Fixes rust-lang/rust-analyzer#14996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants