@@ -115,33 +115,6 @@ borrowck_bl_used_borrow_in_later_iteration_loop =
115
115
borrowck_drop_local_might_cause_borrow =
116
116
{ $borrow_desc } borrow might be used here, when `{ $local_name } ` is dropped and runs the { $dtor_desc } for { $type_desc }
117
117
118
- borrowck_closure_capture_borrow_in_later_iteration_loop =
119
- { $borrow_desc } borrow captured here by closure, in later iteration of loop
120
-
121
- borrowck_call_used_borrow_in_later_iteration_loop =
122
- { $borrow_desc } borrow used by call, in later iteration of loop
123
-
124
- borrowck_used_borrow_in_later_iteration_loop =
125
- { $borrow_desc } borrow used here, in later iteration of loop
126
-
127
- borrowck_bl_trait_capture_borrow_in_later_iteration_loop =
128
- { $borrow_desc } borrow later borrow captured here by trait object, in later iteration of loop
129
-
130
- borrowck_bl_closure_capture_borrow_in_later_iteration_loop =
131
- { $borrow_desc } borrow later borrow captured here by closure, in later iteration of loop
132
-
133
- borrowck_bl_call_used_borrow_in_later_iteration_loop =
134
- { $borrow_desc } borrow later borrow used by call, in later iteration of loop
135
-
136
- borrowck_bl_borrow_later_stored_here =
137
- { $borrow_desc } borrow later borrow later stored here
138
-
139
- borrowck_bl_used_borrow_in_later_iteration_loop =
140
- { $borrow_desc } borrow later borrow used here, in later iteration of loop
141
-
142
- borrowck_drop_local_might_cause_borrow =
143
- { $borrow_desc } borrow might be used here, when `{ $local_name } ` is dropped and runs the { $dtor_name } for { $type_name }
144
-
145
118
borrowck_var_dropped_in_wrong_order =
146
119
values in a scope are dropped in the opposite order they are defined
147
120
@@ -201,18 +174,26 @@ borrowck_moved_by_call =
201
174
202
175
borrowck_type_not_impl_Copy =
203
176
{ $move_prefix } move occurs because { $place_desc } has type `{ $ty } `, which does not implement the `Copy` trait
177
+
204
178
borrowck_outlive_constraint_need_borrow_lasts =
205
179
{ $category } requires that `{ $borrow_desc } ` lasts for `{ $region_name } `
180
+
206
181
borrowck_require_mutable_binding =
207
182
calling `{ $place } ` requires mutable binding due to { $reason }
183
+
208
184
borrowck_cannot_act =
209
185
cannot { $act }
186
+
210
187
borrowck_expects_fnmut_not_fn =
211
188
change this to accept `FnMut` instead of `Fn`
189
+
212
190
borrowck_expects_fn_not_fnmut =
213
191
expects `Fn` instead of `FnMut`
192
+
214
193
borrowck_empty_label = { " " }
194
+
215
195
borrowck_in_this_closure =
216
196
in this closure
197
+
217
198
borrowck_return_fnmut =
218
199
change this to return `FnMut` instead of `Fn`
0 commit comments