1 error[E0594]: cannot assign to `nyan.how_hungry`, as `nyan` is not declared as mutable
2 --> $DIR/mutable-class-fields.rs:15:3
4 LL | nyan.how_hungry = 0;
5 | ^^^^^^^^^^^^^^^^^^^ cannot assign
7 help: consider changing this to be mutable
9 LL | let mut nyan : Cat = cat(52, 99);
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0594`.