Skip to content

Commit

Permalink
dynamic dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneirical committed May 22, 2024
1 parent e1a457f commit 082977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/mixing-formats/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use run_make_support::{rustc, tmp_dir};
use std::fs;

fn test_with_teardown(rustc_calls: Fn()) {
fn test_with_teardown(rustc_calls: &dyn Fn()) {
rustc_calls();
fs::remove_dir_all(tmp_dir()).unwrap();
fs::create_dir(tmp_dir()).unwrap();
Expand Down

0 comments on commit 082977a

Please sign in to comment.