rustc_metadata::rmeta::encoder

Function should_encode_type

source
fn should_encode_type(
    tcx: TyCtxt<'_>,
    def_id: LocalDefId,
    def_kind: DefKind,
) -> bool