From 4ee18c94d4969a49b81b726260a093f3fd201070 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 22 Dec 2019 20:39:17 +0100 Subject: [PATCH] Clean up E0124 explanation --- src/librustc_error_codes/error_codes/E0124.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/librustc_error_codes/error_codes/E0124.md b/src/librustc_error_codes/error_codes/E0124.md index a7836526a7dd..f08f7e980055 100644 --- a/src/librustc_error_codes/error_codes/E0124.md +++ b/src/librustc_error_codes/error_codes/E0124.md @@ -1,5 +1,6 @@ -You declared two fields of a struct with the same name. Erroneous code -example: +A struct with two fields having the same name has been declared. + +Erroneous code example: ```compile_fail,E0124 struct Foo {