From 2536ae55a4fe3bb9d96ddd53e790631e76a6a11b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 25 Mar 2016 15:14:45 -0400 Subject: [PATCH] fix error message --- src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _ => { } }