about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-07 17:50:27 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-07 17:50:27 -0700
commit1755eec87f8757c08d49c1465b6880dc40a5d901 (patch)
tree67a4cbd35f423dc128a38cf56f538f8ef4e6978b
parentd8ef723d490a8c98a4324a850a629e476011faf4 (diff)
downloadrust-1755eec87f8757c08d49c1465b6880dc40a5d901.tar.gz
rust-1755eec87f8757c08d49c1465b6880dc40a5d901.zip
test: Replace Durable with 'static
-rw-r--r--src/test/auxiliary/issue4516_ty_param_lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/auxiliary/issue4516_ty_param_lib.rs b/src/test/auxiliary/issue4516_ty_param_lib.rs
index dd2ffd5002c..391e9b39610 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<A:Durable + Copy>(x: A) -> @fn() -> A {
+pub fn to_closure<A:'static + Copy>(x: A) -> @fn() -> A {
     let result: @fn() -> A = || copy x;
     result
 }