]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/missing-items/m2.stderr
report the total number of errors on compilation failure
[rust.git] / src / test / ui / missing-items / m2.stderr
index 503ce5618d486db165587ec6ccd283399e0ac5f2..51afb95b89611d3583d4c4c7c740baa29b0eea3a 100644 (file)
@@ -1,4 +1,4 @@
-error: main function not found
+error[E0601]: main function not found
 
 error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`
   --> $DIR/m2.rs:20:1
@@ -11,5 +11,5 @@ error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `met
    = note: `Type` from trait: `type Type;`
    = note: `method` from trait: `fn(&Self, std::string::String) -> <Self as m1::X>::Type`
 
-error: aborting due to previous error
+error: aborting due to 2 previous errors