1
Fork 0

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

@ -20,6 +20,5 @@ fn bar<T: Send>(_: T) {}
fn main() {
let x = Foo { a: 5, ns: marker::NoSend };
bar(x);
//~^ ERROR instantiating a type parameter with an incompatible type `Foo`,
// which does not fulfill `Send`
//~^ ERROR the trait `core::kinds::Send` is not implemented
}