1
Fork 0

Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls

This commit is contained in:
bjorn3 2022-05-13 12:18:13 +00:00
parent 02162c4163
commit 065e202b56
3 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ fn emit_module(
rustc_incremental::copy_cgu_workproduct_to_incr_comp_cache_dir(
tcx.sess,
&name,
&Some(tmp_file.clone()),
Some(&tmp_file),
)
};