Skip to content
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

Some syntax refactorings #15834

Merged
merged 2 commits into from
Jul 22, 2014
Merged

Some syntax refactorings #15834

merged 2 commits into from
Jul 22, 2014

Conversation

Kimundi
Copy link
Member

@Kimundi Kimundi commented Jul 20, 2014

  • Made custom syntax extensions capable of expanding custom macros by moving SyntaxEnv into ExtCtx
  • Added convenience method on ExtCtx for getting a macro expander.
  • Made a few things private to force only a single way to use them (through ExtCtx)
  • Removed some ancient commented-out code

Closes #14946

bors added a commit that referenced this pull request Jul 22, 2014
- Made custom syntax extensions capable of expanding custom macros by moving `SyntaxEnv` into `ExtCtx`
- Added convenience method on `ExtCtx` for getting a macro expander.
- Made a few things private to force only a single way to use them (through `ExtCtx`)
- Removed some ancient commented-out code

Closes #14946
@bors bors closed this Jul 22, 2014
@bors bors merged commit cef4378 into rust-lang:master Jul 22, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 13, 2023
fix: Fix docs path for derive macros

Fixes rust-lang#15831.

Not sure about `attr`, I don't think those are documented anyway. And many macros don't work because we pick the wrong path.
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.

recursive macro --- macro doesn't exist
3 participants