about summary refs log tree commit diff
path: root/src/test/run-pass/nested-class.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/nested-class.rs')
-rw-r--r--src/test/run-pass/nested-class.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/nested-class.rs b/src/test/run-pass/nested-class.rs
index eeda69e621d..6447d46ad89 100644
--- a/src/test/run-pass/nested-class.rs
+++ b/src/test/run-pass/nested-class.rs
@@ -15,7 +15,7 @@ pub fn main() {
   }
 
   pub impl b {
-    fn do_stuff() -> int { return 37; }
+    fn do_stuff(&self) -> int { return 37; }
   }
 
     fn b(i:int) -> b {