-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the order of proc-macro expansion defined? #578
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: