Remove redundant field.

This commit is contained in:
Camille GILLOT 2023-03-01 21:40:56 +00:00
parent 4f97540432
commit e73aeeaeee
2 changed files with 4 additions and 10 deletions

View file

@ -576,7 +576,6 @@ pub struct IrrefutableLetPatternsWhileLet {
#[diag(mir_build_borrow_of_moved_value)]
pub struct BorrowOfMovedValue<'tcx> {
#[primary_span]
pub span: Span,
#[label]
#[label(mir_build_occurs_because_label)]
pub binding_span: Span,