From 87f0237d01936d291fc0f6499aff32726f0f6cb1 Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Thu, 7 May 2015 18:41:33 -0500 Subject: [PATCH] Add long diagnostics for E0062 and E0063 --- src/librustc_typeck/diagnostics.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index f00f0eea1f48..cf229e580272 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -34,6 +34,16 @@ let x_is_nonzero = x as bool; ``` "##, +E0062: r##" +This error indicates that during an attempt to build a struct or struct-like +enum variant, one of the fields was specified more than once. +"##, + +E0063: r##" +This error indicates that during an attempt to build a struct or struct-like +enum variant, one of the fields was not provided. +"##, + E0081: r##" Enum discriminants are used to differentiate enum variants stored in memory. This error indicates that the same value was used for two or more variants, @@ -136,8 +146,6 @@ register_diagnostics! { E0059, E0060, E0061, - E0062, - E0063, E0066, E0067, E0068,