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
|
@ -16,11 +16,9 @@ extern crate rand;
|
|||
|
||||
struct Error;
|
||||
|
||||
#[deriving(Zero)] //~ ERROR failed to find an implementation
|
||||
#[deriving(Zero)] //~ ERROR not implemented
|
||||
struct Struct(
|
||||
Error //~ ERROR
|
||||
//~^ ERROR failed to find an implementation
|
||||
//~^^ ERROR type `Error` does not implement any method in scope
|
||||
Error
|
||||
);
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue