Commit Graph

3 Commits

Author SHA1 Message Date
Niko Matsakis
157422a0c7 Update test error messages based on changes to wfcheck; also, break
apart the tests that tested many things at once.
2015-08-12 17:58:58 -04: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