diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-12-22 20:39:17 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-12-22 20:39:17 +0100 |
| commit | 4ee18c94d4969a49b81b726260a093f3fd201070 (patch) | |
| tree | edcd3349b3928ba11f4f73f924bb8ec856a0627d | |
| parent | 0a440b159436ad3c75d25b24ce5d43086b567872 (diff) | |
| download | rust-4ee18c94d4969a49b81b726260a093f3fd201070.tar.gz rust-4ee18c94d4969a49b81b726260a093f3fd201070.zip | |
Clean up E0124 explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0124.md | 5 |
1 files 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 a7836526a7d..f08f7e98005 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 { |
