1 error[E0505]: cannot move out of `a` because it is borrowed
2 --> $DIR/variance-issue-20533.rs:38:14
5 | - borrow of `a` occurs here
6 LL | drop(a); //~ ERROR cannot move out of `a`
7 | ^ move out of `a` occurs here
9 error[E0505]: cannot move out of `a` because it is borrowed
10 --> $DIR/variance-issue-20533.rs:44:14
13 | - borrow of `a` occurs here
14 LL | drop(a); //~ ERROR cannot move out of `a`
15 | ^ move out of `a` occurs here
17 error[E0505]: cannot move out of `a` because it is borrowed
18 --> $DIR/variance-issue-20533.rs:50:14
21 | - borrow of `a` occurs here
22 LL | drop(a); //~ ERROR cannot move out of `a`
23 | ^ move out of `a` occurs here
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0505`.