From b5c81c9baab0411e82978abbcece367ad8642a93 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 10 Apr 2023 13:17:48 +0800 Subject: [PATCH] Fix test. --- tests/optimizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/optimizer.rs b/tests/optimizer.rs index 43102557..80b8ccf1 100644 --- a/tests/optimizer.rs +++ b/tests/optimizer.rs @@ -172,7 +172,7 @@ fn test_optimizer_reoptimize() -> Result<(), Box> { const FOO = 42; fn foo() { let f = || FOO * 2; - f.call() + call(f) } foo() ";