]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_error_messages/locales/en-US/borrowck.ftl
New upstream version 1.65.0+dfsg1
[rustc.git] / compiler / rustc_error_messages / locales / en-US / borrowck.ftl
CommitLineData
f2b60f7d 1borrowck_move_unsized =
064997fb
FG
2 cannot move a value of type `{$ty}`
3 .label = the size of `{$ty}` cannot be statically determined
4
f2b60f7d 5borrowck_higher_ranked_lifetime_error =
064997fb
FG
6 higher-ranked lifetime error
7
f2b60f7d 8borrowck_could_not_prove =
064997fb
FG
9 could not prove `{$predicate}`
10
f2b60f7d 11borrowck_could_not_normalize =
064997fb
FG
12 could not normalize `{$value}`
13
f2b60f7d 14borrowck_higher_ranked_subtype_error =
064997fb 15 higher-ranked subtype error
f2b60f7d
FG
16
17borrowck_generic_does_not_live_long_enough =
18 `{$kind}` does not live long enough
19
20borrowck_move_borrowed =
21 cannot move out of `{$desc}` beacause it is borrowed
22
23borrowck_var_does_not_need_mut =
24 variable does not need to be mutable
25 .suggestion = remove this `mut`
26
27borrowck_const_not_used_in_type_alias =
28 const parameter `{$ct}` is part of concrete type but not used in parameter list for the `impl Trait` type alias
29
30borrowck_var_cannot_escape_closure =
31 captured variable cannot escape `FnMut` closure body
32 .note = `FnMut` closures only have access to their captured variables while they are executing...
33 .cannot_escape = ...therefore, they cannot allow references to captured variables to escape
34
35borrowck_var_here_defined = variable defined here
36
37borrowck_var_here_captured = variable captured here
38
39borrowck_closure_inferred_mut = inferred to be a `FnMut` closure
40
41borrowck_returned_closure_escaped =
42 returns a closure that contains a reference to a captured variable, which then escapes the closure body
43
44borrowck_returned_async_block_escaped =
45 returns an `async` block that contains a reference to a captured variable, which then escapes the closure body
46
47borrowck_returned_ref_escaped =
48 returns a reference to a captured variable which escapes the closure body
49
50borrowck_lifetime_constraints_error =
51 lifetime may not live long enough
52
53borrowck_returned_lifetime_wrong =
54 {$mir_def_name} was supposed to return data with lifetime `{$outlived_fr_name}` but it is returning data with lifetime `{$fr_name}`
55
56borrowck_returned_lifetime_short =
57 {$category_desc}requires that `{$free_region_name}` must outlive `{$outlived_fr_name}`
58
59borrowck_used_impl_require_static =
60 the used `impl` has a `'static` requirement