rustc_codegen_ssa::debuginfo

Function tag_base_type

source
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.