diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-19 15:35:44 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-19 15:35:44 +0100 |
| commit | 0c7f40f3b2fb75649ec6ed3970486c34dbf4db3b (patch) | |
| tree | ebee923cf3917eecc882c2084d54a1f2faeed14e | |
| parent | bf84eb538fd16743240434b3e837b36c35719fee (diff) | |
| download | rust-0c7f40f3b2fb75649ec6ed3970486c34dbf4db3b.tar.gz rust-0c7f40f3b2fb75649ec6ed3970486c34dbf4db3b.zip | |
clean up E0201 explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0201.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_error_codes/error_codes/E0201.md b/src/librustc_error_codes/error_codes/E0201.md index bdbf02f0033..0e1a7b7b7de 100644 --- a/src/librustc_error_codes/error_codes/E0201.md +++ b/src/librustc_error_codes/error_codes/E0201.md @@ -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); |
