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:
Yuki Okushi 2020-01-28 10:48:14 +09:00 committed by GitHub
commit 8ed586581d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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 {}

View File

@ -1,5 +1,6 @@
An attempt was made to constrain an associated type.
For example:
Erroneous code example:
```compile_fail,E0222
pub trait Vehicle {