You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{$borrow_desc}borrow later borrow used by call, in later iteration of loop
88
+
89
+
borrowck_used_borrow_in_later_iteration_loop =
90
+
{$borrow_desc}borrow later borrow used here, in later iteration of loop
91
+
92
+
borrowck_drop_local_might_cause_borrow =
93
+
{$borrow_desc}borrow might be used here, when `{$local_name}` is dropped and runs the {$dtor_name} for {$type_name}
94
+
95
+
borrowck_var_dropped_in_wrong_order =
96
+
values in a scope are dropped in the opposite order they are defined
97
+
98
+
borrowck_temporary_access_to_borrow =
99
+
a temporary with access to the {$borrow_desc}borrow is created here ...
100
+
101
+
borrowck_drop_temporary_might_cause_borrow = ... and the {$borrow_desc}borrow might be used here, when that temporary is dropped and runs the {$dtor_name} for {$type_name}
102
+
103
+
borrowck_consider_add_semicolon =
104
+
consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
105
+
106
+
borrowck_consider_forcing_temporary_drop_sooner =
107
+
the temporary is part of an expression at the end of a block;
108
+
consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
109
+
110
+
borrowck_perhaps_save_in_new_local_to_drop =
111
+
for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
112
+
113
+
borrowck_outlive_constraint_need_borrow_for =
114
+
{$category}requires that `{$desc}` is borrowed for `{$region_name}`
115
+
116
+
borrowck_outlive_constraint_need_borrow_lasts =
117
+
{$category}requires that `{$borrow_desc}` lasts for `{$region_name}`
0 commit comments