pub fn reflect_generic<'tcx>( generic_mapping: &FxHashMap<String, Ty<'tcx>>, func_name: &str, ty: Ty<'tcx>, ) -> Ty<'tcx>