diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-04 23:33:35 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-05 17:22:17 -0500 |
| commit | d6a948e8f40b1d32d4760e0dfdc0c86df654cae6 (patch) | |
| tree | 1e11d597aaf0d991bb58ab6dcc73b361b96384f5 | |
| parent | 7d5b0454e9ee5ea9b99c6315174b498df60a7bb5 (diff) | |
| download | rust-d6a948e8f40b1d32d4760e0dfdc0c86df654cae6.tar.gz rust-d6a948e8f40b1d32d4760e0dfdc0c86df654cae6.zip | |
fix run-make test
| -rw-r--r-- | src/test/run-make/static-unwinding/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/static-unwinding/lib.rs b/src/test/run-make/static-unwinding/lib.rs index 5e75e1cd1cb..c3fa1a68e16 100644 --- a/src/test/run-make/static-unwinding/lib.rs +++ b/src/test/run-make/static-unwinding/lib.rs @@ -19,7 +19,7 @@ impl Drop for A { } } -pub fn callback(f: ||) { +pub fn callback<F>(f: F) where F: FnOnce() { let _a = A; f(); } |
