Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Escape raw identifiers in macro export name #45

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

olegnn
Copy link
Contributor

@olegnn olegnn commented Oct 16, 2019

Allows to export macros defined using raw identifiers. For example:

#[proc_macro_hack]
pub fn r#async(input: TokenStream) -> TokenStream { ... }

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 4ff424a into dtolnay:master Oct 17, 2019
dtolnay added a commit that referenced this pull request Oct 17, 2019
Escape raw identifiers in macro export name
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants