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

Support #[macro_export(local_inner_macros)] #3750

Merged
merged 1 commit into from Aug 29, 2019

Conversation

vlad20012
Copy link
Member

@vlad20012 vlad20012 commented Apr 23, 2019

Enables support for #[macro_export(local_inner_macros)]. Works only with the new macro expansion engine (see #3628).
Part of #3611

bors bot added a commit that referenced this pull request Jun 11, 2019
3749:  PERF: optimize macro resolve r=Undin a=vlad20012

Initially I've tried to support [`#[macro_export(local_inner_macros)]`](https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macros-using-local_inner_macros) (#3750), but implementation was too slow, so I've tried to cache macro resolution better and accidentally sped it up 3 times... 
`local_inner_macros` is implemented in a separate RP #3750

Co-authored-by: vlad20012 <beskvlad@gmail.com>
bors bot added a commit that referenced this pull request Jun 11, 2019
3749:  PERF: optimize macro resolve r=Undin a=vlad20012

Initially I've tried to support [`#[macro_export(local_inner_macros)]`](https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macros-using-local_inner_macros) (#3750), but implementation was too slow, so I've tried to cache macro resolution better and accidentally sped it up 3 times... 
`local_inner_macros` is implemented in a separate RP #3750

Co-authored-by: vlad20012 <beskvlad@gmail.com>
bors bot added a commit that referenced this pull request Jun 12, 2019
3749:  PERF: optimize macro resolve r=undin a=vlad20012

Initially I've tried to support [`#[macro_export(local_inner_macros)]`](https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macros-using-local_inner_macros) (#3750), but implementation was too slow, so I've tried to cache macro resolution better and accidentally sped it up 3 times... 
`local_inner_macros` is implemented in a separate RP #3750

Co-authored-by: vlad20012 <beskvlad@gmail.com>
@vlad20012 vlad20012 changed the title Local inner macros Support #[macro_export(local_inner_macros)] Jun 12, 2019
@aloucks
Copy link

aloucks commented Jul 21, 2019

Is this blocked on anything?

@vlad20012
Copy link
Member Author

@aloucks Looks like we just forget about it :(

@aloucks
Copy link

aloucks commented Aug 11, 2019

Still forgotten? :)

@vlad20012
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Aug 29, 2019
3750: Support `#[macro_export(local_inner_macros)]` r=vlad20012 a=vlad20012

Enables support for [`#[macro_export(local_inner_macros)]`](https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macros-using-local_inner_macros). Works only with the new macro expansion engine (see #3628).
Part of #3611

Co-authored-by: vlad20012 <beskvlad@gmail.com>
@bors
Copy link
Contributor

bors bot commented Aug 29, 2019

@bors bors bot merged commit e0202bc into intellij-rust:master Aug 29, 2019
bors bot added a commit that referenced this pull request Sep 2, 2019
4346: Fix switch to AST when resolving nested macro with the new engine r=vlad20012 a=vlad20012

The bug was introduced in #3750 (not released yet)

Co-authored-by: vlad20012 <beskvlad@gmail.com>
bors bot added a commit that referenced this pull request Sep 2, 2019
4245: RUN: Add "Restart" and "Stop" buttons to Cargo build tool window r=ortem a=mchernyavsky

Relates to #3926.

<img width="315" alt="restart-stop" src="https://user-images.githubusercontent.com/6079006/62889650-77ffe780-bd4a-11e9-9b30-8e3ca5869f2c.png">



4323: INT: Handle trailing comma in ChopListIntention r=mchernyavsky a=ortem



4346: Fix switch to AST when resolving nested macro with the new engine r=vlad20012 a=vlad20012

The bug was introduced in #3750 (not released yet)

Co-authored-by: Mikhail Chernyavsky <mikhail.chernyavsky@jetbrains.com>
Co-authored-by: ortem <ortem00@gmail.com>
Co-authored-by: vlad20012 <beskvlad@gmail.com>
bors bot added a commit that referenced this pull request Sep 2, 2019
4323: INT: Handle trailing comma in ChopListIntention r=mchernyavsky a=ortem



4346: Fix switch to AST when resolving nested macro with the new engine r=vlad20012 a=vlad20012

The bug was introduced in #3750 (not released yet)

Co-authored-by: ortem <ortem00@gmail.com>
Co-authored-by: vlad20012 <beskvlad@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants