We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce2b8a4 commit 998e3c1Copy full SHA for 998e3c1
src/librustc_mir/borrow_check.rs
@@ -90,7 +90,7 @@ fn do_mir_borrowck<'a, 'gcx, 'tcx>(infcx: &InferCtxt<'a, 'gcx, 'tcx>,
90
IllegalMoveOriginKind::Static =>
91
tcx.cannot_move_out_of(span, "static item", origin),
92
IllegalMoveOriginKind::BorrowedContent =>
93
- tcx.cannot_move_out_of(span, "borrowed_content", origin),
+ tcx.cannot_move_out_of(span, "borrowed content", origin),
94
IllegalMoveOriginKind::InteriorOfTypeWithDestructor { container_ty: ty } =>
95
tcx.cannot_move_out_of_interior_of_drop(span, ty, origin),
96
IllegalMoveOriginKind::InteriorOfSliceOrArray { ty, is_index } =>
0 commit comments