1 error[E0506]: cannot assign to `fancy_num` because it is borrowed
4 LL | let fancy_ref = &fancy_num;
5 | --------- borrow of `fancy_num` occurs here
6 LL | fancy_num = FancyNum { num: 6 };
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `fancy_num` occurs here
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0506`.