You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this is rust-lang/rust#43081. If you insert println!("{:#?}", input) as the first line of hello_macro_derive you'll see that the spans all come in as #0 bytes(0..0) so it isn't syn losing them.
Hi.
There's a reproducer for this bug here.
When there is a syntax error, the span info is lost and that makes output errors like this:
Thanks to fix the issue.
The text was updated successfully, but these errors were encountered: