Skip to content

Commit 6980617

Browse files
committed
fix local merge weird thing
1 parent 7b00fd1 commit 6980617

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_borrowck/src/session_diagnostics.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ pub(crate) enum AddMoveErr {
174174
},
175175
#[note(borrowck::moved_var_cannot_copy)]
176176
MovedNotCopy {},
177+
}
177178
//explain_borrow.rs
178179

179180
#[derive(SessionSubdiagnostic)]
@@ -252,6 +253,7 @@ pub(crate) enum BorrowUsedLaterInLoop<'a> {
252253
span: Span,
253254
},
254255
}
256+
255257
#[derive(SessionSubdiagnostic)]
256258
pub(crate) enum BorrowLaterBorrowUsedLaterInLoop<'a> {
257259
#[label(borrowck::bl_trait_capture_borrow_in_later_iteration_loop)]

0 commit comments

Comments
 (0)