-
Notifications
You must be signed in to change notification settings - Fork 536
Is the order of proc-macro expansion defined? #578
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-macros
Area: Macros
Comments
The order is as afar as I know undefined. cc @eddyb |
It's very much the opposite of defined (well, not UB, but implementation-specific non-deterministic). |
12 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Or is it intentionally left undefined (if so, that should be specified)? Proc-macros can have side-effects. If it is defined, what its it? (In source-sequence, starting from crate root, entire module processed before
mod
statements, or aremod
processed as seen?)The text was updated successfully, but these errors were encountered: