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