about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs b/src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs
index b3e465688fd..c573e3e8e28 100644
--- a/src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs
+++ b/src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs
@@ -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
         _ => { }
     }