Skip to content

Added with_proc_macro_error function that works with proc_macro2 streams #9

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Miha-Rozina
Copy link

This is an alternative to the #[proc_macro_error] attribute, meant to be used in unit tests. It is basically the entry_point() function but using proc_macro2 streams and with the removed proc_macro_hack code.

…reams, so code written with proc-macro-error2 can be used in unit tests.
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