From df64e05426d894241398b941f89001e81fd1521b Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Fri, 8 May 2015 13:13:43 -0500 Subject: [PATCH] Change E0062 and E0063 to say each field should be specified once. --- src/librustc_typeck/diagnostics.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index cf229e5802729..0e6386618f17b 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -36,12 +36,14 @@ 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. +enum variant, one of the fields was specified more than once. Each field should +be specified exactly one time. "##, 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. +enum variant, one of the fields was not provided. Each field should be specified +exactly once. "##, E0081: r##"