fn ty_dtor_span<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option<Span>
Expand description
Extract the span of the custom destructor of a type
especially the span of the impl Drop
header or its entire block
when we are working with current local crate.