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 | let nyan : Cat = cat(52, 99);
5 | ---- help: consider changing this to be mutable: `mut nyan`
6 LL | nyan.how_hungry = 0;
7 | ^^^^^^^^^^^^^^^^^^^ cannot assign
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0594`.