-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Consider removing invalid span workaround form join_spans
#222
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the internal
join_spans
function, there is some old code which filters out invalid tokens from the input stream by debug-printing the Span object, and inspecting the output.quote/src/spanned.rs
Lines 21 to 32 in 7d5d360
Given that rust-lang/rust#43081 appears to have been fixed for a bit over a year (rust-lang/rust#43081 (comment)), perhaps this code could be disabled on versions with the fix (appears to be rustc 1.53+)?
The text was updated successfully, but these errors were encountered: