rustc_hir_analysis::check::check

Function check_union_fields

source
fn check_union_fields(
    tcx: TyCtxt<'_>,
    span: Span,
    item_def_id: LocalDefId,
) -> bool
Expand description

Check that the fields of the union do not need dropping.