Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls
This commit is contained in:
parent
d5cb2bee82
commit
5a1a111b52
@ -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),
|
||||
)
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user