diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-03-25 15:14:45 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-03-25 15:14:45 -0400 |
| commit | 2536ae55a4fe3bb9d96ddd53e790631e76a6a11b (patch) | |
| tree | bd55a1b1ce456177b8b480215db8c9ffa6282983 | |
| parent | 944dc4aa654633c0b027fa6fe30f5ed0690a73b9 (diff) | |
| download | rust-2536ae55a4fe3bb9d96ddd53e790631e76a6a11b.tar.gz rust-2536ae55a4fe3bb9d96ddd53e790631e76a6a11b.zip | |
fix error message
| -rw-r--r-- | src/test/compile-fail/rfc1445/match-forbidden-without-eq.rs | 2 |
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 _ => { } } |
