summary refs log tree commit diff
path: root/src/test/compile-fail/enum-to-float-cast.rs
AgeCommit message (Collapse)AuthorLines
2014-06-13librustc: Forbid enum-to-float casts.Patrick Walton-0/+35
Closes #14794. If you're casting from an enum to a float, cast through an integer first. [breaking-change]