From 1755eec87f8757c08d49c1465b6880dc40a5d901 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 7 May 2013 17:50:27 -0700 Subject: [PATCH] test: Replace Durable with 'static --- src/test/auxiliary/issue4516_ty_param_lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/auxiliary/issue4516_ty_param_lib.rs b/src/test/auxiliary/issue4516_ty_param_lib.rs index dd2ffd5002c9..391e9b39610c 100644 --- a/src/test/auxiliary/issue4516_ty_param_lib.rs +++ b/src/test/auxiliary/issue4516_ty_param_lib.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -pub fn to_closure(x: A) -> @fn() -> A { +pub fn to_closure(x: A) -> @fn() -> A { let result: @fn() -> A = || copy x; result }