diff options
| author | bors <bors@rust-lang.org> | 2024-12-07 03:04:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-12-07 03:04:18 +0000 |
| commit | ca13e9169fbbbb126190631b5a1e3e20053a52c1 (patch) | |
| tree | 14c4d69d3887c9fdd9a0e17c78471e6a23f9b3bb /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | 75716b45105e443199ce9800c7009ddfd6d2be53 (diff) | |
| parent | 711c8cc690c70d9b4c0e17e90f21f03d4e9d3ebf (diff) | |
| download | rust-ca13e9169fbbbb126190631b5a1e3e20053a52c1.tar.gz rust-ca13e9169fbbbb126190631b5a1e3e20053a52c1.zip | |
Auto merge of #133883 - saethlin:remove-polymorphization, r=compiler-errors
Remove polymorphization This PR removes the flag `-Zpolymorphize` and all the infrastructure in the compiler that exists only to support it, per https://github.com/rust-lang/compiler-team/issues/810.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index 6c4f6d37972..cf72c2ed742 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -432,11 +432,8 @@ fn push_debuginfo_type_name<'tcx>( push_closure_or_coroutine_name(tcx, def_id, args, qualified, output, visited); } } - // Type parameters from polymorphized functions. - ty::Param(_) => { - write!(output, "{t:?}").unwrap(); - } - ty::Error(_) + ty::Param(_) + | ty::Error(_) | ty::Infer(_) | ty::Placeholder(..) | ty::Alias(..) |
