From 1813ab594da579bf20ba84664c3aaea30445a928 Mon Sep 17 00:00:00 2001 From: ILyoan <ilyoan@gmail.com> Date: Wed, 8 May 2013 13:15:08 +0900 Subject: [PATCH] testsuite: update a test for #4350 --- src/test/run-pass/traits-default-method-self.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/run-pass/traits-default-method-self.rs b/src/test/run-pass/traits-default-method-self.rs index a377c86068c..c17b45d6ea1 100644 --- a/src/test/run-pass/traits-default-method-self.rs +++ b/src/test/run-pass/traits-default-method-self.rs @@ -10,16 +10,16 @@ //xfail-test -// Currently failing with an ICE in trans. (FIXME: #2794) +// Currently failing with an ICE in trans. (FIXME: #4350) trait Cat { - fn meow() -> bool; - fn scratch() -> bool { self.purr() } - fn purr() -> bool { true } + fn meow(&self) -> bool; + fn scratch(&self) -> bool { self.purr() } + fn purr(&self) -> bool { true } } impl Cat for int { - fn meow() -> bool { + fn meow(&self) -> bool { self.scratch() } }