diff options
| author | bors <bors@rust-lang.org> | 2022-12-13 00:29:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-13 00:29:28 +0000 |
| commit | b96d9e0e20adb7716aa32a56fe96fde15c75d517 (patch) | |
| tree | 454f2841806010e5903bce4628eedcc1af27f35c /compiler/rustc_codegen_llvm/src | |
| parent | ed9749324aed9e97741abf569a022353e269a9df (diff) | |
| parent | 5af04471aacadf650c23eed54b70fbe04e2230c2 (diff) | |
| download | rust-b96d9e0e20adb7716aa32a56fe96fde15c75d517.tar.gz rust-b96d9e0e20adb7716aa32a56fe96fde15c75d517.zip | |
Auto merge of #105644 - matthiaskrgr:rollup-qc6hlzq, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #104864 (Account for item-local in inner scope for E0425) - #105332 (Point out the type of associated types in every method call of iterator chains) - #105620 (Remove unnecessary uses of `clone`) - #105625 (minor code cleanups) - #105629 (rustdoc: stop treating everything in a trait item as a method) - #105636 (Add check for local-storage value when changing "display line numbers" settings) - #105639 (rustdoc: remove `type="text/css" from stylesheet links) - #105640 (Adjust miri to still be optional) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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 551663bfbbd..e20dc906bce 100644 --- a/compiler/rustc_codegen_llvm/src/back/lto.rs +++ b/compiler/rustc_codegen_llvm/src/back/lto.rs @@ -210,7 +210,7 @@ pub(crate) fn run_thin( } pub(crate) fn prepare_thin(module: ModuleCodegen<ModuleLlvm>) -> (String, ThinBuffer) { - let name = module.name.clone(); + let name = module.name; let buffer = ThinBuffer::new(module.module_llvm.llmod(), true); (name, buffer) } |
