pub fn check_is_object_safe<'tcx>(tcx: TyCtxt<'tcx>, key: Key<'tcx>) -> String