Update error messages in compile-fail tests

This commit is contained in:
Niko Matsakis
2014-09-12 10:45:39 -04:00
parent a8d478db51
commit b88f86782e
87 changed files with 381 additions and 256 deletions

View File

@@ -14,6 +14,6 @@
trait Foo {}
fn take_foo<F:Foo>(f: F) {}
fn take_object(f: Box<Foo>) { take_foo(f); } //~ ERROR failed to find an implementation of trait
//~^ ERROR failed to find an implementation
fn take_object(f: Box<Foo>) { take_foo(f); }
//~^ ERROR the trait `Foo` is not implemented
fn main() {}