-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Use proc macros for include/select #250
Comments
With the current implementation of In your example, I don't think there's a good way to alleviate the terminal spam since it's a result of an invalid configuration ( which I addressed in Discord). But for errors that are syntactic, there's definitely some extra error handling I could add.
The correct error is produced.
But the same terminal spam is produced from some other branch of the macro.
This could definitely be worked on. |
😍 nice! |
Because the generated
include!
andselect!
macros are output on a single line, errors that occur when using the macros cause sub-optimal error messages.It looks "okay" in github because github doesn't wrap, but in a terminal it's a giant wall of the macro code :)
error snippet (scroll horizontally to see full error)
Unfortunately I can't use rustfmt to format it because it gives up on lines over a certain length.
The text was updated successfully, but these errors were encountered: