1error[E0046]: not all trait items implemented, missing: `eat` 2 --> $DIR/class-method-missing.rs:9:1 3 | 4LL | fn eat(&self); 5 | -------------- `eat` from trait 6... 7LL | impl Animal for Cat { 8 | ^^^^^^^^^^^^^^^^^^^ missing `eat` in implementation 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0046`. 13