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

On rust file syntax error has invalid span with no related FileInfo! #211

Open
zzau13 opened this issue Feb 24, 2021 · 0 comments
Open

On rust file syntax error has invalid span with no related FileInfo! #211

zzau13 opened this issue Feb 24, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@zzau13
Copy link
Owner

zzau13 commented Feb 24, 2021

When syntax error when forcing the own span of proc_macro2 it fails because it is using the proc_macro environment. Check that all sources have their own span of proc_macro2 in all macros and check that the error output is correct.

Current output:

 ....
  = help: message: Invalid span with no related FileInfo!
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant