fix error message

This commit is contained in:
Niko Matsakis 2016-03-25 15:14:45 -04:00
parent 944dc4aa65
commit 2536ae55a4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ fn main() {
let y = Foo { x: 1 };
match y {
FOO => { }
//~^ ERROR must be annotated with `#[derive(Eq)]`
//~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
//~| WARNING will become a hard error
_ => { }
}