pub fn tag_for_variant_provider<'tcx>(
tcx: TyCtxt<'tcx>,
key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, VariantIdx)>,
) -> Option<ScalarInt>Expand description
Computes the tag (if any) for a given type and variant.
pub fn tag_for_variant_provider<'tcx>(
tcx: TyCtxt<'tcx>,
key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, VariantIdx)>,
) -> Option<ScalarInt>Computes the tag (if any) for a given type and variant.