Function rustc_trait_selection::traits::vtable::prepare_vtable_segments_inner
source · fn prepare_vtable_segments_inner<'tcx, T>(
tcx: TyCtxt<'tcx>,
trait_ref: PolyTraitRef<'tcx>,
segment_visitor: impl FnMut(VtblSegment<'tcx>) -> ControlFlow<T>
) -> ControlFlow<T>
Expand description
Helper for prepare_vtable_segments
that returns ControlFlow
,
such that we can use ?
in the body.