diff --git a/src/test/compile-fail/E0063.rs b/src/test/compile-fail/E0063.rs
index e7044102abc71..c8f821940ddc5 100644
--- a/src/test/compile-fail/E0063.rs
+++ b/src/test/compile-fail/E0063.rs
@@ -40,15 +40,15 @@ struct TruncatedPluralFoo {
 
 fn main() {
     let w = SingleFoo { };
-    //~^ ERROR missing field `x` in initializer of `SingleFoo`
-    //~| NOTE missing `x`
+    //~error[E0063]: missing field `x` in initializer of `SingleFoo`
+    //~^^^ missing `x`
     let x = PluralFoo {x: 1};
-    //~^ ERROR missing fields `y`, `z` in initializer of `PluralFoo`
-    //~| NOTE missing `y`, `z`
+    //~error[E0063]: missing fields `y`, `z` in initializer of `PluralFoo`
+    //~^^^ missing `y`, `z`
     let y = TruncatedFoo{x:1};
     //~^ missing fields `a`, `b`, `y` and 1 other field in initializer of `TruncatedFoo`
-    //~| NOTE `a`, `b`, `y` and 1 other field
+    //~^^^ `a`, `b`, `y` and 1 other field
     let z = TruncatedPluralFoo{x:1};
-    //~^ ERROR missing fields `a`, `b`, `c` and 2 other fields in initializer of `TruncatedPluralFoo`
-    //~| NOTE missing `a`, `b`, `c` and 2 other fields
+    //~error[E0063]: missing fields `a`, `b`, `c` and 2 other fields in initializer of `TruncatedPluralFoo`
+    //~^^^ missing `a`, `b`, `c` and 2 other fields
 }