diff --git a/compiler/rustc_arena/src/lib.rs b/compiler/rustc_arena/src/lib.rs index a0493056b81..54552b499be 100644 --- a/compiler/rustc_arena/src/lib.rs +++ b/compiler/rustc_arena/src/lib.rs @@ -32,7 +32,7 @@ use std::slice; #[inline(never)] #[cold] -pub fn cold_path R, R>(f: F) -> R { +fn cold_path R, R>(f: F) -> R { f() }