]> git.lizzy.rs Git - rust.git/blob - tests/ui/class-method-missing.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / class-method-missing.stderr
1 error[E0046]: not all trait items implemented, missing: `eat`
2   --> $DIR/class-method-missing.rs:9:1
3    |
4 LL |   fn eat(&self);
5    |   -------------- `eat` from trait
6 ...
7 LL | impl Animal for Cat {
8    | ^^^^^^^^^^^^^^^^^^^ missing `eat` in implementation
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0046`.