Skip to content

Commit bbdc871

Browse files
authored
Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC
Cleanup E0412 and E0422 r? @Dylan-DPC
2 parents 957241f + 138d29d commit bbdc871

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/librustc_error_codes/error_codes/E0412.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The type name used is not in scope.
1+
A used type name is not in scope.
22

33
Erroneous code examples:
44

src/librustc_error_codes/error_codes/E0422.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
You are trying to use an identifier that is either undefined or not a struct.
1+
An identifier that is neither defined nor a struct was used.
2+
23
Erroneous code example:
34

45
```compile_fail,E0422

src/test/ui/lint/use_suggestion_json.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"message": "cannot find type `Iter` in this scope",
33
"code": {
44
"code": "E0412",
5-
"explanation": "The type name used is not in scope.
5+
"explanation": "A used type name is not in scope.
66

77
Erroneous code examples:
88

0 commit comments

Comments
 (0)