1
Fork 0

Added tests to make tidy

This commit is contained in:
Derek Guenther 2014-02-05 16:33:10 -06:00
parent c3ccaacc6c
commit 730bdb6403
321 changed files with 2730 additions and 148 deletions

View file

@ -19,5 +19,7 @@ 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`
bar(x);
//~^ ERROR instantiating a type parameter with an incompatible type `Foo`,
// which does not fulfill `Send`
}