From cfdf193c4671a11e40743748d9cded9603386346 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 25 Oct 2011 15:56:55 +0200 Subject: Update our code to new type parameter kind syntax Closes #1067 --- src/compiletest/procsrv.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiletest') diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs index 5caf9f7d57a..173403690e5 100644 --- a/src/compiletest/procsrv.rs +++ b/src/compiletest/procsrv.rs @@ -154,17 +154,17 @@ fn worker(p: port) { // Only windows needs to set the library path #[cfg(target_os = "win32")] -fn maybe_with_lib_path<@T>(path: str, f: fn@() -> T) -> T { +fn maybe_with_lib_path(path: str, f: fn@() -> T) -> T { with_lib_path(path, f) } #[cfg(target_os = "linux")] #[cfg(target_os = "macos")] -fn maybe_with_lib_path<@T>(_path: str, f: fn@() -> T) -> T { +fn maybe_with_lib_path(_path: str, f: fn@() -> T) -> T { f() } -fn with_lib_path<@T>(path: str, f: fn@() -> T) -> T { +fn with_lib_path(path: str, f: fn@() -> T) -> T { let maybe_oldpath = getenv(util::lib_path_env_var()); append_lib_path(path); let res = f(); -- cgit 1.4.1-3-g733a5