blob: 927eace727ee8c9c1d03c3e6d19cb531c9d13484 [file] [log] [blame]
error[E0389]: cannot assign to data in a `&` reference
--> $DIR/E0389.rs:8:5
|
LL | fancy_ref.num = 6;
| ^^^^^^^^^^^^^^^^^ assignment into an immutable reference
error: aborting due to previous error
For more information about this error, try `rustc --explain E0389`.