about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-generic-box2.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-11-19 17:36:32 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-11-26 08:20:58 -0800
commit9e610573ba285619c9a59d8c1468624b6428492c (patch)
treeef04c2714fc27e8af37303cd287f342151ae7037 /src/test/run-pass/expr-block-generic-box2.rs
parent406813957b65a1627e9b26f73019868a7da1ae79 (diff)
downloadrust-9e610573ba285619c9a59d8c1468624b6428492c.tar.gz
rust-9e610573ba285619c9a59d8c1468624b6428492c.zip
librustc: Remove remaining uses of `&fn()` in favor of `||`.
Diffstat (limited to 'src/test/run-pass/expr-block-generic-box2.rs')
-rw-r--r--src/test/run-pass/expr-block-generic-box2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-block-generic-box2.rs b/src/test/run-pass/expr-block-generic-box2.rs
index 562c3c1e523..04721c6bd94 100644
--- a/src/test/run-pass/expr-block-generic-box2.rs
+++ b/src/test/run-pass/expr-block-generic-box2.rs
@@ -12,7 +12,7 @@
 
 // xfail-fast
 
-type compare<'self, T> = &'self fn(T, T) -> bool;
+type compare<'self, T> = 'self |T, T| -> bool;
 
 fn test_generic<T:Clone>(expected: T, eq: compare<T>) {
     let actual: T = { expected.clone() };