fix clippy::clone_on_ref_ptr for compiler
This commit is contained in:
parent
0bff99403c
commit
746b675c5a
33 changed files with 98 additions and 91 deletions
|
@ -142,7 +142,7 @@ impl Linker {
|
|||
|
||||
Ok(Linker {
|
||||
dep_graph: tcx.dep_graph.clone(),
|
||||
output_filenames: tcx.output_filenames(()).clone(),
|
||||
output_filenames: Arc::clone(tcx.output_filenames(())),
|
||||
crate_hash: if tcx.needs_crate_hash() {
|
||||
Some(tcx.crate_hash(LOCAL_CRATE))
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue