Skip to content

Commit 0c7f40f

Browse files
clean up E0201 explanation
1 parent bf84eb5 commit 0c7f40f

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

src/librustc_error_codes/error_codes/E0201.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
It is an error to define two associated items (like methods, associated types,
2-
associated functions, etc.) with the same identifier.
1+
Two associated items (like methods, associated types, associated functions,
2+
etc.) were defined with the same identifier.
33

4-
For example:
4+
Erroneous code example:
55

66
```compile_fail,E0201
77
struct Foo(u8);

0 commit comments

Comments
 (0)