diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-10-07 22:22:51 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-10-28 18:05:08 +0300 |
| commit | 746b675c5aabc7a61443f16a37223720657544d2 (patch) | |
| tree | 63d9413addb96e2884e62e2a7deb01baab84fc37 /compiler/rustc_codegen_llvm/src | |
| parent | 0bff99403c03b891995976587e3c92cbf04ded4c (diff) | |
| download | rust-746b675c5aabc7a61443f16a37223720657544d2.tar.gz rust-746b675c5aabc7a61443f16a37223720657544d2.zip | |
fix clippy::clone_on_ref_ptr for compiler
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/lto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs index 1f7a923dd2c..74bc0eced32 100644 --- a/compiler/rustc_codegen_llvm/src/back/lto.rs +++ b/compiler/rustc_codegen_llvm/src/back/lto.rs @@ -569,7 +569,7 @@ fn thin_lto( info!(" - {}: re-compiled", module_name); opt_jobs.push(LtoModuleCodegen::Thin(ThinModule { - shared: shared.clone(), + shared: Arc::clone(&shared), idx: module_index, })); } |
