diff options
| author | bors <bors@rust-lang.org> | 2023-09-28 08:05:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-28 08:05:39 +0000 |
| commit | 6e09cff6d74f19cab171586c8612f03110c33ebd (patch) | |
| tree | f3e1359bfb26f903fb0013d8d4e96b19800cac01 /compiler/rustc_codegen_ssa/src | |
| parent | 46da927abb389f646d9b0c500e5c386aec61ecf9 (diff) | |
| parent | 86d5939abafaadd63dd63a52fcd6a464f14c4188 (diff) | |
| download | rust-6e09cff6d74f19cab171586c8612f03110c33ebd.tar.gz rust-6e09cff6d74f19cab171586c8612f03110c33ebd.zip | |
Auto merge of #116222 - matthiaskrgr:rollup-dnag90q, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #112959 (Change the wording in `std::fmt::Write::write_str`) - #115535 (format doc-comment code examples in std::process) - #115888 (fix a comment about assert_receiver_is_total_eq) - #116211 (more clippy complextity fixes ) - #116213 (Document -Zlink-native-libraries) - #116215 (Tweak wording of missing angle backets in qualified path) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/base.rs b/compiler/rustc_codegen_ssa/src/base.rs index 6c51dffedbf..3cca0eb7ae7 100644 --- a/compiler/rustc_codegen_ssa/src/base.rs +++ b/compiler/rustc_codegen_ssa/src/base.rs @@ -181,7 +181,7 @@ pub fn unsized_info<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( old_info } } - (_, &ty::Dynamic(ref data, _, _)) => meth::get_vtable(cx, source, data.principal()), + (_, ty::Dynamic(data, _, _)) => meth::get_vtable(cx, source, data.principal()), _ => bug!("unsized_info: invalid unsizing {:?} -> {:?}", source, target), } } |
