1 error[E0505]: cannot move out of `a.x` because it is borrowed
2 --> $DIR/borrowck-move-subcomponent.rs:15:14
5 | -- borrow of `a` occurs here
6 LL | let S { x: ax } = a;
7 | ^^ move out of `a.x` occurs here
9 | -- borrow later used here
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0505`.