summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/in-trait/lifetime-mismatch.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/in-trait/lifetime-mismatch.stderr')
-rw-r--r--tests/ui/async-await/in-trait/lifetime-mismatch.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/in-trait/lifetime-mismatch.stderr b/tests/ui/async-await/in-trait/lifetime-mismatch.stderr
index 86592269c..3841ab934 100644
--- a/tests/ui/async-await/in-trait/lifetime-mismatch.stderr
+++ b/tests/ui/async-await/in-trait/lifetime-mismatch.stderr
@@ -1,5 +1,5 @@
error[E0195]: lifetime parameters or bounds on method `foo` do not match the trait declaration
- --> $DIR/lifetime-mismatch.rs:11:17
+ --> $DIR/lifetime-mismatch.rs:10:17
|
LL | async fn foo<'a>(&self);
| ---- lifetimes in impl do not match this method in trait