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
git clone https://github.com/chinedufn/rustc-span-error
cd rustc-span-error
cargo test# You'll see a failing test with the incorrect span column
This might be an issue for other tokens as well, I just ran into it for
<
open angle bracket.The spans for the
<
token have incorrect columns. They appear to be one less than what the real value should be.I've reproduced the issue in a minimal repository on GitHub.
I'll paste the code below since it's short:
src/lib.rs
proc macro
The text was updated successfully, but these errors were encountered: