diff options
| author | bors <bors@rust-lang.org> | 2024-06-04 09:38:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-04 09:38:16 +0000 |
| commit | 85f90a461262f7ca37a6e629933d455fa9c3ee48 (patch) | |
| tree | 618af55d33d2daec90e4a6f7ba74f13fe1f5476a /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | 27529d5c2526eab5aa03d765426c44ea55c5d269 (diff) | |
| parent | a04a6038bb634607d278805199894dc19527b422 (diff) | |
| download | rust-85f90a461262f7ca37a6e629933d455fa9c3ee48.tar.gz rust-85f90a461262f7ca37a6e629933d455fa9c3ee48.zip | |
Auto merge of #125960 - jieyouxu:rollup-1s7f6lr, r=jieyouxu
Rollup of 8 pull requests Successful merges: - #124486 (Add tracking issue and unstable book page for `"vectorcall"` ABI) - #125504 (Change pedantically incorrect OnceCell/OnceLock wording) - #125608 (Avoid follow-up errors if the number of generic parameters already doesn't match) - #125690 (ARM Target Docs Update) - #125750 (Align `Term` methods with `GenericArg` methods, add `Term::expect_*`) - #125818 (Handle no values cfgs with `--print=check-cfg`) - #125909 (rustdoc: add a regression test for a former blanket impl synthesis ICE) - #125919 (Remove stray "this") r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index 07473ee476b..2360cce55a9 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -263,7 +263,7 @@ fn push_debuginfo_type_name<'tcx>( let ExistentialProjection { def_id: item_def_id, term, .. } = tcx.instantiate_bound_regions_with_erased(bound); // FIXME(associated_const_equality): allow for consts here - (item_def_id, term.ty().unwrap()) + (item_def_id, term.expect_type()) }) .collect(); |
