Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC
Cleanup E0412 and E0422 r? @Dylan-DPC
This commit is contained in:
commit
bbdc871c53
3 changed files with 4 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
The type name used is not in scope.
|
||||
A used type name is not in scope.
|
||||
|
||||
Erroneous code examples:
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue