about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-08-31 20:42:01 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-09-28 20:55:35 +0000
commit4973903cd204dd2cd36e15267de72ed6d954e3a6 (patch)
treebddfe6c5d9a5ab68ba777cf014a7fefe631be6eb /compiler
parent7a0319f01d08e541c8e16febaa68c5fa8b66b586 (diff)
downloadrust-4973903cd204dd2cd36e15267de72ed6d954e3a6.tar.gz
rust-4973903cd204dd2cd36e15267de72ed6d954e3a6.zip
reword note
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs b/compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs
index a0ea8b08556..66c43a07c80 100644
--- a/compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs
@@ -423,7 +423,7 @@ impl<'tcx> BorrowExplanation<'tcx> {
                     {
                         err.span_note(
                             pred,
-                            format!("requirement for `{region_name}` introduced here"),
+                            format!("requirement that the value outlives `{region_name}` introduced here"),
                         );
                         break;
                     }