-
-
Notifications
You must be signed in to change notification settings - Fork 118
partialEq for Span #154
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
Comments
We follow the API of the compiler's |
Ok I will try! |
Looks like it was removed here: reorganize public API |
Could you say more about your use case for this impl? Then we can check with alexcrichton or petrochenkov how we can support that use case. What is your code doing that needs PartialEq on Span? |
I am trying to write fixtures and tests for some parsing code similar to wasm-bindgen's parser. Incidentally, the removal of partialeq breaks WB's 'extra-traits' feature. |
Is there any meaning to comparing the spans in that case, or is it only to make it convenient to derive PartialEq rather than implement by hand in a way that ignores spans? |
Closing as this was rejected in rust-lang/rust#59070. |
This was added in #68 and has since been removed. Can it be re-introduced or put under a flag?
The text was updated successfully, but these errors were encountered: