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 881208f commit 095064bCopy full SHA for 095064b
src/vtable.rs
@@ -68,7 +68,7 @@ pub(crate) fn get_vtable<'tcx>(
68
ty: Ty<'tcx>,
69
trait_ref: Option<ty::PolyExistentialTraitRef<'tcx>>,
70
) -> Value {
71
- let alloc_id = fx.tcx.vtable_allocation(ty, trait_ref);
+ let alloc_id = fx.tcx.vtable_allocation((ty, trait_ref));
72
let data_id =
73
data_id_for_alloc_id(&mut fx.constants_cx, &mut *fx.module, alloc_id, Mutability::Not);
74
let local_data_id = fx.module.declare_data_in_func(data_id, &mut fx.bcx.func);
0 commit comments