Skip to content
This repository was archived by the owner on Jun 7, 2026. It is now read-only.

Added with_proc_macro_error function that works with proc_macro2 streams - #9

Open
Miha-Rozina wants to merge 2 commits into
GnomedDev:masterfrom
numfum:mr/with_proc_macro_error
Open

Added with_proc_macro_error function that works with proc_macro2 streams#9
Miha-Rozina wants to merge 2 commits into
GnomedDev:masterfrom
numfum:mr/with_proc_macro_error

Conversation

@Miha-Rozina

Copy link
Copy Markdown

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 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.

1 participant