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() ";