Added tests to make tidy
This commit is contained in:
parent
c3ccaacc6c
commit
730bdb6403
321 changed files with 2730 additions and 148 deletions
|
@ -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`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue