1
Fork 0

Fallout in tests: largely changes to error messages.

This commit is contained in:
Niko Matsakis 2015-03-30 04:56:24 -04:00
parent c92bdcb232
commit e2b2a53d70
15 changed files with 37 additions and 51 deletions

View file

@ -13,5 +13,5 @@ struct Foo;
fn main() {
let mut a = Foo;
let ref b = Foo;
a += *b; //~ Error: binary assignment operation `+=` cannot be applied to type `Foo`
a += *b; //~ Error: binary assignment operation `+=` cannot be applied to types `Foo` and `Foo`
}