about summary refs log tree commit diff
path: root/tests/ui/nll
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-06-24 18:59:29 +0000
committerMichael Goulet <michael@errs.io>2025-06-24 18:59:42 +0000
commit250b5d204f499c326699b0e2adf7d7757e55f16c (patch)
tree5dae4bb56bf85510af0f57a61e904a7e8fad763f /tests/ui/nll
parent36b21637e93b038453924d3c66821089e71d8baa (diff)
downloadrust-250b5d204f499c326699b0e2adf7d7757e55f16c.tar.gz
rust-250b5d204f499c326699b0e2adf7d7757e55f16c.zip
Make missing lifetime suggestion verbose
Diffstat (limited to 'tests/ui/nll')
-rw-r--r--tests/ui/nll/user-annotations/region-error-ice-109072.stderr9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/ui/nll/user-annotations/region-error-ice-109072.stderr b/tests/ui/nll/user-annotations/region-error-ice-109072.stderr
index d90971bed25..42551b87f62 100644
--- a/tests/ui/nll/user-annotations/region-error-ice-109072.stderr
+++ b/tests/ui/nll/user-annotations/region-error-ice-109072.stderr
@@ -2,9 +2,12 @@ error[E0261]: use of undeclared lifetime name `'missing`
   --> $DIR/region-error-ice-109072.rs:8:9
    |
 LL | impl Lt<'missing> for () {
-   |     -   ^^^^^^^^ undeclared lifetime
-   |     |
-   |     help: consider introducing lifetime `'missing` here: `<'missing>`
+   |         ^^^^^^^^ undeclared lifetime
+   |
+help: consider introducing lifetime `'missing` here
+   |
+LL | impl<'missing> Lt<'missing> for () {
+   |     ++++++++++
 
 error[E0261]: use of undeclared lifetime name `'missing`
   --> $DIR/region-error-ice-109072.rs:9:15