Function rustc_query_impl::make_query::adt_significant_drop_tys[][src]

pub fn adt_significant_drop_tys<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: adt_significant_drop_tys<'tcx>
) -> QueryStackFrame
Expand description

A list of types where the ADT requires drop if and only if any of those types has significant drop. A type marked with the attribute rustc_insignificant_dtor is considered to not be significant. A drop is significant if it is implemented by the user or does anything that will have any observable behavior (other than freeing up memory). If the ADT is known to have a significant destructor then Err(AlwaysRequiresDrop) is returned.