Skip to content

Commit

Permalink
clean up E0201 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 19, 2020
1 parent bf84eb5 commit 0c7f40f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_error_codes/error_codes/E0201.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
It is an error to define two associated items (like methods, associated types,
associated functions, etc.) with the same identifier.
Two associated items (like methods, associated types, associated functions,
etc.) were defined with the same identifier.

For example:
Erroneous code example:

```compile_fail,E0201
struct Foo(u8);
Expand Down

0 comments on commit 0c7f40f

Please sign in to comment.