Skip to content

Commit 4ee18c9

Browse files
Clean up E0124 explanation
1 parent 0a440b1 commit 4ee18c9

File tree

1 file changed

+3
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-2
lines changed

src/librustc_error_codes/error_codes/E0124.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
You declared two fields of a struct with the same name. Erroneous code
2-
example:
1+
A struct with two fields having the same name has been declared.
2+
3+
Erroneous code example:
34

45
```compile_fail,E0124
56
struct Foo {

0 commit comments

Comments
 (0)