They aren't all safe, and it is a bug: mozilla/rust#13933. I think there are others, but those are the most blatant.