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