Skip to content

Commit da49674

Browse files
committed
Remove unnecessary "implicitly" in error message
1 parent 99f6cb1 commit da49674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
19251925

19261926
if let Some((item_name, value_desc)) = implicit_temporary {
19271927
err.note(format!(
1928-
"mutably borrowing a {} implicitly copies the {} to a temporary",
1928+
"mutably borrowing a {} copies the {} to a temporary",
19291929
item_name, value_desc
19301930
));
19311931
}

0 commit comments

Comments
 (0)