pub fn tag_base_type<'tcx>(
tcx: TyCtxt<'tcx>,
enum_type_and_layout: TyAndLayout<'tcx>,
) -> Ty<'tcx>
Expand description
Extract the type with which we want to describe the tag of the given enum or coroutine.
pub fn tag_base_type<'tcx>(
tcx: TyCtxt<'tcx>,
enum_type_and_layout: TyAndLayout<'tcx>,
) -> Ty<'tcx>
Extract the type with which we want to describe the tag of the given enum or coroutine.