File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustc/middle/borrowck Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ impl<'a> CheckLoanCtxt<'a> {
660660 if assignee_cmt. mutbl . is_mutable ( ) {
661661 if check_for_aliasable_mutable_writes ( self , assignment_span, assignee_cmt. clone ( ) ) {
662662 if mode != euv:: Init {
663- check_for_assignment_to_restricted_or_frozen_location (
663+ check_for_assignment_to_borrowed_path (
664664 self , assignment_id, assignment_span, assignee_cmt. clone ( ) ) ;
665665 mark_variable_as_used_mut ( self , assignee_cmt) ;
666666 }
@@ -796,7 +796,7 @@ impl<'a> CheckLoanCtxt<'a> {
796796 }
797797 }
798798
799- fn check_for_assignment_to_restricted_or_frozen_location (
799+ fn check_for_assignment_to_borrowed_path (
800800 this : & CheckLoanCtxt ,
801801 assignment_id : ast:: NodeId ,
802802 assignment_span : Span ,
You can’t perform that action at this time.
0 commit comments