Skip to content

Commit 14750ec

Browse files
committed
Use Instance::resolve_for_vtable instead of Instance::resolve for vtables
1 parent 739afe7 commit 14750ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vtable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn build_vtable<'a, 'tcx: 'a>(
113113
Some(import_function(
114114
tcx,
115115
fx.module,
116-
Instance::resolve(tcx, ParamEnv::reveal_all(), def_id, substs).unwrap(),
116+
Instance::resolve_for_vtable(tcx, ParamEnv::reveal_all(), def_id, substs).unwrap(),
117117
))
118118
})
119119
});

0 commit comments

Comments
 (0)