Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC

Cleanup E0412 and E0422

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-03-16 01:30:31 +01:00 committed by GitHub
commit bbdc871c53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
The type name used is not in scope.
A used type name is not in scope.
Erroneous code examples:

View file

@ -1,4 +1,5 @@
You are trying to use an identifier that is either undefined or not a struct.
An identifier that is neither defined nor a struct was used.
Erroneous code example:
```compile_fail,E0422

View file

@ -2,7 +2,7 @@
"message": "cannot find type `Iter` in this scope",
"code": {
"code": "E0412",
"explanation": "The type name used is not in scope.
"explanation": "A used type name is not in scope.
Erroneous code examples: