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

Provide syn::Error integration #3

Closed
drahnr opened this issue Feb 23, 2022 · 0 comments · Fixed by #4
Closed

Provide syn::Error integration #3

drahnr opened this issue Feb 23, 2022 · 0 comments · Fixed by #4
Assignees

Comments

@drahnr
Copy link
Owner

drahnr commented Feb 23, 2022

Commonly the error message improves, but if used in the case of an syn::Error converted into TokenStream, the compile_error! macro is not pretty. In those cases, and only if the user opted into it, it'd be preferable to not write it to file but error directly without the intermediate file. The integrated span would then point to the source of the error.

@drahnr drahnr self-assigned this Feb 23, 2022
drahnr added a commit that referenced this issue Feb 24, 2022
drahnr added a commit that referenced this issue Feb 24, 2022
drahnr added a commit that referenced this issue Feb 24, 2022
@drahnr drahnr closed this as completed in #4 Feb 24, 2022
drahnr added a commit that referenced this issue Feb 24, 2022
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 a pull request may close this issue.

1 participant