Deduplicate checking drop terminator

This commit is contained in:
Michael Goulet
2024-11-19 17:18:54 +00:00
parent 2088260852
commit af0d566e76
12 changed files with 69 additions and 107 deletions

View File

@@ -411,7 +411,7 @@ pub struct LiveDrop<'tcx> {
pub kind: ConstContext,
pub dropped_ty: Ty<'tcx>,
#[label(const_eval_dropped_at_label)]
pub dropped_at: Option<Span>,
pub dropped_at: Span,
}
#[derive(Diagnostic)]