fix error message
This commit is contained in:
parent
944dc4aa65
commit
2536ae55a4
@ -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
|
||||
_ => { }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user