Rollup merge of #68482 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC
clean up error codes explanation r? @Dylan-DPC
This commit is contained in:
commit
8ed586581d
@ -1,4 +1,5 @@
|
||||
You used an associated type which isn't defined in the trait.
|
||||
The associated type used was not defined in the trait.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0220
|
||||
|
@ -1,5 +1,6 @@
|
||||
An attempt was made to retrieve an associated type, but the type was ambiguous.
|
||||
For example:
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0221
|
||||
trait T1 {}
|
||||
|
@ -1,5 +1,6 @@
|
||||
An attempt was made to constrain an associated type.
|
||||
For example:
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0222
|
||||
pub trait Vehicle {
|
||||
|
Loading…
Reference in New Issue
Block a user