You should still be able to use phantom types with empty traits or enums.
Here's an article[0] (admittedly from ~6 months ago), about using phantom types in Servo.
[0] https://blog.mozilla.org/research/2014/06/23/static-checking...
[0] https://blog.mozilla.org/research/2014/06/23/static-checking...
No comments yet.