fn alloc_as_global<'tcx, S: UnderOwnerState<'tcx>>( s: &S, alloc_id: AllocId, ) -> Option<ItemRef>
The global that an allocation corresponds to, if any.