pub fn specialized_encode_alloc_id<'tcx, E>(
    encoder: &mut E,
    tcx: TyCtxt,
    alloc_id: AllocId
) -> Result<(), <E as Encoder>::Error> where
    E: TyEncoder<'tcx>,