summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr')
-rw-r--r--tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr b/tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr
index d666e668d..6bcae6e53 100644
--- a/tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr
+++ b/tests/ui/type-alias-impl-trait/missing_lifetime_bound.stderr
@@ -1,8 +1,9 @@
-error[E0700]: hidden type for `Opaque<'a, T>` captures lifetime that does not appear in bounds
- --> $DIR/missing_lifetime_bound.rs:4:47
+error[E0700]: hidden type for `Opaque2<T>` captures lifetime that does not appear in bounds
+ --> $DIR/missing_lifetime_bound.rs:5:47
|
-LL | type Opaque<'a, T> = impl Sized;
- | ---------- opaque type defined here
+LL | type Opaque2<T> = impl Sized;
+ | ---------- opaque type defined here
+LL | type Opaque<'a, T> = Opaque2<T>;
LL | fn defining<'a, T>(x: &'a i32) -> Opaque<T> { x }
| -- ^
| |