[−][src]Function rustc_typeck::check::check_union_fields
fn check_union_fields(
tcx: TyCtxt<'_>,
span: Span,
item_def_id: LocalDefId
) -> bool
When the #![feature(untagged_unions)] gate is active,
check that the fields of the union does not contain fields that need dropping.