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
Copy file name to clipboardExpand all lines: compiler/rustc_error_messages/locales/en-US/infer.ftl
+7-1
Original file line number
Diff line number
Diff line change
@@ -338,4 +338,10 @@ infer_srs_add_one = consider returning one of these bindings
338
338
339
339
infer_await_both_futures = consider `await`ing on both `Future`s
340
340
infer_await_future = consider `await`ing on the `Future`
341
-
infer_await_note = calling an async function returns a future
341
+
infer_await_note = calling an async function returns a future
342
+
343
+
infer_prlf_defined_with_sub = the lifetime `{$sub_symbol}` defined here...
344
+
infer_prlf_defined_without_sub = the lifetime defined here...
345
+
infer_prlf_must_oultive_with_sup = ...must outlive the lifetime `{$sup_symbol}` defined here
346
+
infer_prlf_must_oultive_without_sup = ...must outlive the lifetime defined here
347
+
infer_prlf_known_limitation = this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
format!("the lifetime `{sub_symbol}` defined here..."),
57
-
);
58
-
err.span_note(sup_span,"...must outlive the lifetime defined here");
61
+
sup_span,
62
+
sub_symbol,
63
+
note:(),
64
+
}
59
65
}
60
66
(Some(sub_span),Some(sup_span), _, _) => {
61
-
err.span_note(sub_span,"the lifetime defined here...");
62
-
err.span_note(sup_span,"...must outlive the lifetime defined here");
67
+
PlaceholderRelationLfNotSatisfied::HasNone{
68
+
span,
69
+
sub_span,
70
+
sup_span,
71
+
note:(),
72
+
}
63
73
}
64
-
_ => {}
65
-
}
66
-
err.note("this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)");
0 commit comments