diff options
| author | Michael Goulet <michael@errs.io> | 2023-07-25 23:31:21 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-08-01 23:19:31 +0000 |
| commit | 99969d282bd853442d7539b83833816b73e642e1 (patch) | |
| tree | bbf1b4584ccfa75fe855fb6fc569437e1e834791 /compiler/rustc_codegen_llvm/src/debuginfo/metadata | |
| parent | d12c6e947ceacf3b22c154caf9532b390d8dc88a (diff) | |
Use upvar_tys in more places, make it a list
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/metadata')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs index b4beb80ca8b..d3239d5c358 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs @@ -379,6 +379,7 @@ pub fn build_generator_variant_struct_type_di_node<'ll, 'tcx>( // Fields that are common to all states let common_fields: SmallVec<_> = generator_args .prefix_tys() + .iter() .zip(common_upvar_names) .enumerate() .map(|(index, (upvar_ty, upvar_name))| { |
