fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0505]: cannot move out of `x` because it is borrowed 2 --> $DIR/borrowck-no-cycle-in-exchange-heap.rs:16:15 3 | 4LL | Cycle::Node(ref mut y) => { 5 | --------- borrow of `x.0` occurs here 6LL | y.a = x; 7 | --- ^ move out of `x` occurs here 8 | | 9 | borrow later used here 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0505`.