Skip to content

Commit 72956f8

Browse files
committed
change ftl accordingly
1 parent a058251 commit 72956f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_borrowck/messages.ftl

+3-3
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ borrowck_mut_borrow_place_declared_immute =
399399
cannot borrow `{$place}` as mutable, as it is not declared as mutable
400400
401401
borrowck_mut_borrow_place_in_pattern_guard_immute =
402-
cannot borrow `{$place}` as mutable, as it is immutable for the pattern guard
402+
cannot borrow {$place} as mutable, as it is immutable for the pattern guard
403403
404404
borrowck_mut_borrow_place_static =
405405
cannot borrow immutable static item `{$place}` as mutable
@@ -414,10 +414,10 @@ borrowck_mut_borrow_self_behind_index =
414414
cannot borrow `{$place}` as mutable, as it is behind an index of {$name}
415415
416416
borrowck_mut_borrow_self_behind_ref =
417-
cannot borrow `{$place}` as mutable, as it is behind a `&` reference
417+
cannot borrow {$place} as mutable, as it is behind a `&` reference
418418
419419
borrowck_mut_borrow_self_in_fn =
420-
cannot borrow `{$place}` as mutable, as it is a captured variable in a `Fn` closure
420+
cannot borrow {$place} as mutable, as it is a captured variable in a `Fn` closure
421421
422422
borrowck_mut_borrow_symbol_declared_immute =
423423
cannot borrow `{$place}` as mutable, as `{$name}` is not declared as mutable

0 commit comments

Comments
 (0)