about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-06 04:24:21 +0200
committerGitHub <noreply@github.com>2020-04-06 04:24:21 +0200
commit3faec69865f8d2b9abab76c7c2f0371361e167a3 (patch)
tree3c84417fe48d024af8cb27fcb27343b332536d20 /src/test
parent17fa3440d2c2577942c6dc30edbffbf99f3738d7 (diff)
parent0664b8191573524a845fc2639b9d3a740e442723 (diff)
downloadrust-3faec69865f8d2b9abab76c7c2f0371361e167a3.tar.gz
rust-3faec69865f8d2b9abab76c7c2f0371361e167a3.zip
Rollup merge of #70827 - estebank:shorten-sugg-span-add-lt, r=ecstatic-morse
Use smaller span for suggestion restricting lifetime
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/impl-trait/does-not-live-long-enough.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/impl-trait/does-not-live-long-enough.stderr b/src/test/ui/impl-trait/does-not-live-long-enough.stderr
index 83d0f87015b..9cff4bcd8b5 100644
--- a/src/test/ui/impl-trait/does-not-live-long-enough.stderr
+++ b/src/test/ui/impl-trait/does-not-live-long-enough.stderr
@@ -14,7 +14,7 @@ LL |     }
 help: you can add a bound to the opaque type to make it last less than `'static` and match `'a`
    |
 LL |     fn started_with<'a>(&'a self, prefix: &'a str) -> impl Iterator<Item=&'a str> + 'a {
-   |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |                                                                                   ^^^^
 
 error: aborting due to previous error