about summary refs log tree commit diff
path: root/src/test/run-pass/explicit-self-generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/explicit-self-generic.rs')
-rw-r--r--src/test/run-pass/explicit-self-generic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/explicit-self-generic.rs b/src/test/run-pass/explicit-self-generic.rs
index 80e16af9228..023381949a3 100644
--- a/src/test/run-pass/explicit-self-generic.rs
+++ b/src/test/run-pass/explicit-self-generic.rs
@@ -15,8 +15,8 @@ extern mod extra;
  *
  * The hash should concentrate entropy in the lower bits.
  */
-type HashFn<K> = ~fn(K) -> uint;
-type EqFn<K> = ~fn(K, K) -> bool;
+type HashFn<K> = proc(K) -> uint;
+type EqFn<K> = proc(K, K) -> bool;
 
 struct LM { resize_at: uint, size: uint }