Skip to content

Basic support for macros 2.0 #6897

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

Merged
merged 3 commits into from
Dec 16, 2020
Merged

Basic support for macros 2.0 #6897

merged 3 commits into from
Dec 16, 2020

Conversation

jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Dec 15, 2020

This adds support for (built-in-only) macros 2.0, and removes some hacks used for builtin derives, which are declared via macros 2.0 in libcore.

First steps for #2248.

Blocked on rust-analyzer/ungrammar#16.

jonas-schievink and others added 3 commits December 15, 2020 18:43
Refactors builtin derive support to go through proper name resolution
@jonas-schievink jonas-schievink changed the title [WIP] Basic support for macros 2.0 Basic support for macros 2.0 Dec 16, 2020
@jonas-schievink jonas-schievink marked this pull request as ready for review December 16, 2020 11:59
@Veykril Veykril mentioned this pull request Dec 16, 2020
@jonas-schievink
Copy link
Contributor Author

bors r+

Let's unblock #6896

@bors
Copy link
Contributor

bors bot commented Dec 16, 2020

@bors bors bot merged commit 63bbdb3 into rust-lang:master Dec 16, 2020
@jonas-schievink jonas-schievink deleted the macros-2.0 branch December 16, 2020 17:07
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.

1 participant