From 819ab04fbe623c68466b6c3e2673a75865ca06ba Mon Sep 17 00:00:00 2001 From: Stefan Schindler Date: Fri, 2 Dec 2016 12:02:15 +0100 Subject: [PATCH] First try --- src/test/compile-fail/E0063.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 }