Skip to content

Commit 752b511

Browse files
Clean up E0412 and E0422 explanations
1 parent 823ff8c commit 752b511

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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

0 commit comments

Comments
 (0)