Commit Graph

5 Commits

Author SHA1 Message Date
mandeep
7d302d2582 Changed E0038 error message in test to comply with new message 2017-03-22 23:06:56 -05:00
Panashe M. Fundira
20ea8cba53
Update E0038 to the new error format 2016-08-09 13:59:00 -04:00
Ariel Ben-Yehuda
77e8f33c3d early-prohibit objects with Self-containing supertraits
Fixes #28576
2015-09-24 18:27:29 +03:00
Niko Matsakis
09bf2fef22 Fallout in tests -- we now report an error if you even reference a type
`&Foo` where `Foo` is a trait that is not object-safe
2015-08-12 17:58:56 -04:00
Niko Matsakis
ff388c1277 Traits that reference Self in the supertrait list are not object-safe. Fixes #22040. 2015-02-17 17:15:27 -05:00