about summary refs log tree commit diff
diff options
context:
space:
mode:
authorILyoan <ilyoan@gmail.com>2013-05-08 13:15:08 +0900
committerILyoan <ilyoan@gmail.com>2013-05-08 13:36:20 +0900
commit1813ab594da579bf20ba84664c3aaea30445a928 (patch)
tree7c5a0faa4b0e644df7566f3d77f78cfb0d84d7b7
parent3c4b32cdbe7304e6bd033ff6bb4b23a1f18e8af0 (diff)
downloadrust-1813ab594da579bf20ba84664c3aaea30445a928.tar.gz
rust-1813ab594da579bf20ba84664c3aaea30445a928.zip
testsuite: update a test for #4350
-rw-r--r--src/test/run-pass/traits-default-method-self.rs10
1 files 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()
     }
 }