pub(crate) fn apply_vcall_visibility_metadata<'ll, 'tcx>(
cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
trait_hierarchy: &[ExistentialTraitRef<'tcx>],
vtable: Value<'ll>,
)Expand description
Apply the virtual call visibility metadata to the vtable.
Adds a !type annotation for every trait in the trait hierarchy, and a !vcall_visibility annotation based on the most visible trait in the hierarchy.