rust-lang/rust — pull request #19276 by kmcallister (2014-11-24 19:59:14+00:00)
Title: Warn about casting an enum variant function

Closes #18154.