We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d3c4f commit 5ccfa78Copy full SHA for 5ccfa78
src/unsize.rs
@@ -39,8 +39,7 @@ pub(crate) fn unsized_info<'tcx>(
39
}
40
41
// trait upcasting coercion
42
- let vptr_entry_idx =
43
- fx.tcx.vtable_trait_upcasting_coercion_new_vptr_slot((source, target));
+ let vptr_entry_idx = fx.tcx.supertrait_vtable_slot((source, target));
44
45
if let Some(entry_idx) = vptr_entry_idx {
46
let entry_idx = u32::try_from(entry_idx).unwrap();
0 commit comments