]> git.proxmox.com Git - rustc.git/blame - tests/ui/associated-types/associated-types-outlives.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / associated-types / associated-types-outlives.stderr
CommitLineData
b7449926 1error[E0505]: cannot move out of `x` because it is borrowed
0731742a 2 --> $DIR/associated-types-outlives.rs:22:14
b7449926 3 |
9ffffee4
FG
4LL | F: for<'a> FnOnce(<T as Foo<'a>>::Bar)>(x: T, f: F) {
5 | - binding `x` declared here
6...
b7449926 7LL | 's: loop { y = denormalise(&x); break }
48663c56 8 | -- borrow of `x` occurs here
532ac7d7 9LL | drop(x);
b7449926 10 | ^ move out of `x` occurs here
48663c56
XL
11LL | return f(y);
12 | - borrow later used here
b7449926
XL
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0505`.