Fixed in https://github.com/mozilla/rust/pull/14786, but this feature is silly. I don't at all care that somebody that wants to cast an _enum_ to a _float_ must first cast to an int. Nominating.