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

@ -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() {}