mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 22:05:14 +00:00
clean up E0201 explanation
This commit is contained in:
parent
bf84eb538f
commit
0c7f40f3b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user