]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/class-method-missing.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / class-method-missing.rs
index f3c5ab2019daec88da80533e1759b47a065b1b26..17cf36b73f6432487d7ae31bf414bc0c511ce51e 100644 (file)
@@ -8,7 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// error-pattern:missing method `eat`
 trait animal {
   fn eat(&self);
 }
@@ -18,6 +17,7 @@ struct cat {
 }
 
 impl animal for cat {
+    //~^ ERROR not all trait items implemented, missing: `eat`
 }
 
 fn cat(in_x : uint) -> cat {