Clean up E0323, E0324 and E0325 explanations
This commit is contained in:
parent
dbef35309d
commit
c3303c7b08
|
@ -1,4 +1,5 @@
|
||||||
An associated const was implemented when another trait item was expected.
|
An associated const was implemented when another trait item was expected.
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0323
|
```compile_fail,E0323
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
A method was implemented when another trait item was expected. Erroneous
|
A method was implemented when another trait item was expected.
|
||||||
code example:
|
|
||||||
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0324
|
```compile_fail,E0324
|
||||||
struct Bar;
|
struct Bar;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
An associated type was implemented when another trait item was expected.
|
An associated type was implemented when another trait item was expected.
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0325
|
```compile_fail,E0325
|
||||||
|
|
Loading…
Reference in New Issue