about summary refs log tree commit diff
path: root/src/test/auxiliary/trait_inheritance_auto_xc_aux.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/auxiliary/trait_inheritance_auto_xc_aux.rs')
-rw-r--r--src/test/auxiliary/trait_inheritance_auto_xc_aux.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/auxiliary/trait_inheritance_auto_xc_aux.rs b/src/test/auxiliary/trait_inheritance_auto_xc_aux.rs
index ecd43686b77..d5949d1ce09 100644
--- a/src/test/auxiliary/trait_inheritance_auto_xc_aux.rs
+++ b/src/test/auxiliary/trait_inheritance_auto_xc_aux.rs
@@ -8,9 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-trait Foo { fn f() -> int; }
-trait Bar { fn g() -> int; }
-trait Baz { fn h() -> int; }
+trait Foo { fn f(&self) -> int; }
+trait Bar { fn g(&self) -> int; }
+trait Baz { fn h(&self) -> int; }
 
 trait Quux: Foo + Bar + Baz { }