fix error message
This commit is contained in:
parent
944dc4aa65
commit
2536ae55a4
|
@ -24,7 +24,7 @@ fn main() {
|
||||||
let y = Foo { x: 1 };
|
let y = Foo { x: 1 };
|
||||||
match y {
|
match y {
|
||||||
FOO => { }
|
FOO => { }
|
||||||
//~^ ERROR must be annotated with `#[derive(Eq)]`
|
//~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
|
||||||
//~| WARNING will become a hard error
|
//~| WARNING will become a hard error
|
||||||
_ => { }
|
_ => { }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue