Function rustc_hir_analysis::check::check::allowed_union_field
source · fn allowed_union_field<'tcx>(
ty: Ty<'tcx>,
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>
) -> boolfn allowed_union_field<'tcx>(
ty: Ty<'tcx>,
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>
) -> bool