diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-16 14:25:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-16 14:25:56 +0200 |
| commit | 91847c43cc70d8d113185d46019ae93c3f92fb36 (patch) | |
| tree | f470aab06321102834b9287cae923ee5a4931df9 /compiler/rustc_codegen_llvm | |
| parent | 0a8acac7a316d89167045bb9cf9e279fe12d3a9c (diff) | |
| parent | bbd7ce690452f28d459643d97fbae89109cf5808 (diff) | |
| download | rust-91847c43cc70d8d113185d46019ae93c3f92fb36.tar.gz rust-91847c43cc70d8d113185d46019ae93c3f92fb36.zip | |
Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnr
couple of clippy::perf fixes
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs index 31bb9ed3185..d6e2c8ccdf4 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs @@ -372,7 +372,6 @@ fn build_union_fields_for_direct_tag_generator<'ll, 'tcx>( // Build the type node for each field. let variant_field_infos: SmallVec<VariantFieldInfo<'ll>> = variant_range - .clone() .map(|variant_index| { let variant_struct_type_di_node = super::build_generator_variant_struct_type_di_node( cx, |
