fn allowed_union_or_unsafe_field<'tcx>( tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, typing_env: TypingEnv<'tcx>, span: Span, ) -> bool