mozilla/rust — pull request #14874 by pcwalton (2014-06-13 18:15:27+00:00)
Title: librustc: Forbid enum-to-float casts.

Closes #14794.

If you're casting from an enum to a float, cast through an integer
first.

[breaking-change]

r? @alexcrichton