summary refs log tree commit diff
path: root/src/test/run-pass/issue-2312.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/issue-2312.rs')
-rw-r--r--src/test/run-pass/issue-2312.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/issue-2312.rs b/src/test/run-pass/issue-2312.rs
index 8c597552d75..3f273b56efd 100644
--- a/src/test/run-pass/issue-2312.rs
+++ b/src/test/run-pass/issue-2312.rs
@@ -10,7 +10,7 @@
 
 // Testing that the B's are resolved
 
-trait clam<A> { }
+trait clam<A> { fn get(self) -> A; }
 
 struct foo(int);