diff options
| author | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
| commit | 797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4 (patch) | |
| tree | 811ca661f067af0af334b460c71448460ccb81bf /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | 8dfb3395411555e93399671d0c41a4ac9ed62b95 (diff) | |
| parent | a054e703b1d6335d7145c7280d63add754bb0d93 (diff) | |
| download | rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.tar.gz rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.zip | |
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #105375 (Fix an outdated comment mentioning parameter that doesn't exist anymore) - #105955 (Remove wrapper functions for some unstable options) - #106137 (fix more clippy::style findings) - #106140 (Migrate links-color.goml to functions) Failed merges: 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 819c2678d6c..3ae6c531b44 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -509,7 +509,7 @@ pub fn compute_debuginfo_vtable_name<'tcx>( visited.clear(); push_generic_params_internal(tcx, trait_ref.substs, &mut vtable_name, &mut visited); } else { - vtable_name.push_str("_"); + vtable_name.push('_'); } push_close_angle_bracket(cpp_like_debuginfo, &mut vtable_name); |
