Skip to content

Commit 2536ae5

Browse files
committed
fix error message
1 parent 944dc4a commit 2536ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() {
2424
let y = Foo { x: 1 };
2525
match y {
2626
FOO => { }
27-
//~^ ERROR must be annotated with `#[derive(Eq)]`
27+
//~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
2828
//~| WARNING will become a hard error
2929
_ => { }
3030
}

0 commit comments

Comments
 (0)