aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/constructor-as-cast.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for an obvious-seeming (but not actually legal) kind of cast ↵Graydon Hoare2010-07-191-0/+13
attempted in issue #115, downgrade bug to an err in type.ml so you get a better message.