diff options
| author | Nikita Tomashevich <quant3234@gmail.com> | 2023-01-21 18:16:53 +0300 |
|---|---|---|
| committer | IQuant <quant3234@gmail.com> | 2023-02-14 18:31:45 +0300 |
| commit | cb8ea01096fb14ea25bbe69fd0b92f7e7752cb78 (patch) | |
| tree | 78b684ad6694dc739921631086363e54c946d309 /compiler/rustc_error_messages | |
| parent | 58e901b6fd1163172149fd422565523b17eed5f0 (diff) | |
| download | rust-cb8ea01096fb14ea25bbe69fd0b92f7e7752cb78.tar.gz rust-cb8ea01096fb14ea25bbe69fd0b92f7e7752cb78.zip | |
Port RefLongerThanData
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/infer.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/infer.ftl b/compiler/rustc_error_messages/locales/en-US/infer.ftl index 0fcde811740..c012973f1dd 100644 --- a/compiler/rustc_error_messages/locales/en-US/infer.ftl +++ b/compiler/rustc_error_messages/locales/en-US/infer.ftl @@ -150,6 +150,8 @@ infer_region_explanation = {$pref_kind -> [lf_must_outlive] but lifetime parameter must outlive [type_valid_for] the type is valid for [borrow_lasts_for] but the borrow lasts for + [pointer_valid_for] the pointer is valid for + [data_valid_for] but the referenced data is only valid for [empty] {""} }{$pref_kind -> [empty] {""} @@ -175,6 +177,7 @@ infer_outlives_bound = lifetime of the source pointer does not outlive lifetime infer_fullfill_req_lifetime = the type `{$ty}` does not fulfill the required lifetime infer_lf_bound_not_satisfied = lifetime bound not satisfied infer_borrowed_too_long = a value of type `{$ty}` is borrowed for too long +infer_ref_longer_than_data = in type `{$ty}`, reference has a longer lifetime than the data it references infer_mismatched_static_lifetime = incompatible lifetime on type infer_does_not_outlive_static_from_impl = ...does not necessarily outlive the static lifetime introduced by the compatible `impl` |
