summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-types/associated-types-outlives.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-types/associated-types-outlives.stderr')
-rw-r--r--tests/ui/associated-types/associated-types-outlives.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/associated-types/associated-types-outlives.stderr b/tests/ui/associated-types/associated-types-outlives.stderr
index 840e33b4b..2fe3f2d4a 100644
--- a/tests/ui/associated-types/associated-types-outlives.stderr
+++ b/tests/ui/associated-types/associated-types-outlives.stderr
@@ -1,6 +1,9 @@
error[E0505]: cannot move out of `x` because it is borrowed
--> $DIR/associated-types-outlives.rs:22:14
|
+LL | F: for<'a> FnOnce(<T as Foo<'a>>::Bar)>(x: T, f: F) {
+ | - binding `x` declared here
+...
LL | 's: loop { y = denormalise(&x); break }
| -- borrow of `x` occurs here
LL | drop(x);