error[E0046]: not all trait items implemented, missing: `make_sound`
--> prog.rs:9:1
|
2 | fn make_sound(&self);
| --------------------- `make_sound` from trait
...
9 | impl Animal for Cat {
| ^^^^^^^^^^^^^^^^^^^ missing `make_sound` in implementation
error: aborting due to previous error
For more information about this error, try `rustc --explain E0046`.