Skip to content

Commit 1755eec

Browse files
committed
test: Replace Durable with 'static
1 parent d8ef723 commit 1755eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/auxiliary/issue4516_ty_param_lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
pub fn to_closure<A:Durable + Copy>(x: A) -> @fn() -> A {
11+
pub fn to_closure<A:'static + Copy>(x: A) -> @fn() -> A {
1212
let result: @fn() -> A = || copy x;
1313
result
1414
}

0 commit comments

Comments
 (0)