-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can't compare unsafe function pointers #718
Comments
If the title is correct, then this is resolved by rust-lang/rust#28268, if the example is correct, then some kind of heterogeneous comparison between safe function items and unsafe function pointers is wanted. The example is probably incorrect. |
Is there a reason |
@gkoz
So, if 1) is fixed, then the @jdm's example should actually work, even if doesn't correspond to the issue title |
@petrochenkov thanks for the clarification! |
The example in #718 (comment) compiles now. |
It doesn't on the 2/19 nightly. Is there a more recent change that addressed it? |
@jdm |
Ah, whoops! This can be closed, in that case. |
Remove a workaround for rust-lang/rfcs#718 <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19082) <!-- Reviewable:end -->
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : ec825f73bff763418cb9d6035969ff80dfc536b4
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a UltraBlame original commit: 67f2b6f0a1d32470702d1ef61844671881f6ad57
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a UltraBlame original commit: 67f2b6f0a1d32470702d1ef61844671881f6ad57
…m Eijebong:fixme_issue_718); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a UltraBlame original commit: 67f2b6f0a1d32470702d1ef61844671881f6ad57
Issue by jdm
Monday Apr 07, 2014 at 20:28 GMT
For earlier discussion, see rust-lang/rust#13385
This issue was labelled with: in the Rust repository
yields
The text was updated successfully, but these errors were encountered: