Function rustc_metadata::rmeta::encoder::should_encode_variances

source ยท
fn should_encode_variances<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    def_kind: DefKind
) -> bool