]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/class-method-missing.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / class-method-missing.stderr
index c1da06e3a3ad6da8202cee0e7ddfdef61b663b84..3b4ac3a9adc56ec8786f4aad0a3f0b604996d650 100644 (file)
@@ -1,10 +1,10 @@
 error[E0046]: not all trait items implemented, missing: `eat`
-  --> $DIR/class-method-missing.rs:19:1
+  --> $DIR/class-method-missing.rs:9:1
    |
 LL |   fn eat(&self);
    |   -------------- `eat` from trait
 ...
-LL | impl animal for cat {
+LL | impl Animal for Cat {
    | ^^^^^^^^^^^^^^^^^^^ missing `eat` in implementation
 
 error: aborting due to previous error