1 error[E0505]: cannot move out of `a` because it is borrowed
2 --> $DIR/variance-issue-20533.rs:28:14
5 | -- borrow of `a` occurs here
7 | ^ move out of `a` occurs here
9 | - borrow later used here
11 error[E0505]: cannot move out of `a` because it is borrowed
12 --> $DIR/variance-issue-20533.rs:34:14
15 | -- borrow of `a` occurs here
17 | ^ move out of `a` occurs here
19 | - borrow later used here
21 error[E0505]: cannot move out of `a` because it is borrowed
22 --> $DIR/variance-issue-20533.rs:40:14
25 | -- borrow of `a` occurs here
27 | ^ move out of `a` occurs here
29 | - borrow later used here
31 error: aborting due to 3 previous errors
33 For more information about this error, try `rustc --explain E0505`.