blob: 3f69e3b89b10dec92cec406a3a302e117a91bffa [file] [log] [blame]
David Woodb16a3062018-08-08 12:28:261error[E0046]: not all trait items implemented, missing: `eat`
2 --> $DIR/class-method-missing.rs:19:1
3 |
4LL | fn eat(&self);
5 | -------------- `eat` from trait
6...
Andy Russell6474de92018-12-17 03:21:477LL | impl Animal for Cat {
David Woodb16a3062018-08-08 12:28:268 | ^^^^^^^^^^^^^^^^^^^ missing `eat` in implementation
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0046`.