1 error[E0505]: cannot move out of `a` because it is borrowed
2 --> $DIR/variance-issue-20533.rs:28:14
4 LL | let a = AffineU32(1);
5 | - binding `a` declared here
7 | -- borrow of `a` occurs here
9 | ^ move out of `a` occurs here
11 | - borrow later used here
13 error[E0505]: cannot move out of `a` because it is borrowed
14 --> $DIR/variance-issue-20533.rs:34:14
16 LL | let a = AffineU32(1);
17 | - binding `a` declared here
19 | -- borrow of `a` occurs here
21 | ^ move out of `a` occurs here
23 | - borrow later used here
25 error[E0505]: cannot move out of `a` because it is borrowed
26 --> $DIR/variance-issue-20533.rs:40:14
28 LL | let a = AffineU32(1);
29 | - binding `a` declared here
31 | -- borrow of `a` occurs here
33 | ^ move out of `a` occurs here
35 | - borrow later used here
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0505`.