Commit Graph

3 Commits

Author SHA1 Message Date
Niko Matsakis
3046ac217f Detect cycles and specialize error reporting for Sized. It is important
to get the `Sized` error usable, since that hits new users
frequently. Further work is needed for the error reporting for non-Sized
cycle cases; those currently just fallback to the old path. Also adjust tests.
2016-01-16 05:22:32 -05:00
Simonas Kazlauskas
77e9228b4a Improve invalid recursive types diagnostic 2015-07-29 01:57:24 +03:00
Johannes Muenzel
53ddf2e57d Fix several issues with the struct and enum representability-checking logic. 2014-10-08 22:39:57 -04:00