Update error messages in compile-fail tests
This commit is contained in:
parent
a8d478db51
commit
b88f86782e
87 changed files with 381 additions and 256 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue