Skip to content

Commit 082977a

Browse files
committed
dynamic dispatch
1 parent e1a457f commit 082977a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/mixing-formats/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use run_make_support::{rustc, tmp_dir};
1616
use std::fs;
1717

18-
fn test_with_teardown(rustc_calls: Fn()) {
18+
fn test_with_teardown(rustc_calls: &dyn Fn()) {
1919
rustc_calls();
2020
fs::remove_dir_all(tmp_dir()).unwrap();
2121
fs::create_dir(tmp_dir()).unwrap();

0 commit comments

Comments
 (0)