Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls
This commit is contained in:
parent
02162c4163
commit
065e202b56
3 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue