Tweak E0597

CC #99430
This commit is contained in:
Esteban Küber
2023-01-15 03:06:44 +00:00
parent ae4d89dfb5
commit 656db98bd9
208 changed files with 772 additions and 349 deletions

View File

@@ -448,7 +448,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
};
self.note_type_does_not_implement_copy(err, &place_desc, place_ty, Some(span), "");
use_spans.args_span_label(err, format!("move out of {place_desc} occurs here"));
use_spans.args_span_label(err, format!("{place_desc} is moved here"));
}
}
}