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

Always-true Equality for PhantomData<T> to PhantomData<T> #1375

Closed
wants to merge 2 commits into from

Conversation

samdoiron
Copy link

No description provided.

@ticki
Copy link
Contributor

ticki commented Nov 20, 2015

👍

@jonas-schievink
Copy link
Contributor

PhantomData already implements PartialEq and Eq, as can be seen here (the impls! macro generates this).

The reason that derive doesn't work on the struct is probably due to rust-lang/rust#26925

@samdoiron
Copy link
Author

Looks like it to me! Closing in favour of that issue.

@samdoiron samdoiron closed this Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants