Skip to content

Commit

Permalink
Clean up E0412 and E0422 explanations
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 13, 2020
1 parent 823ff8c commit 752b511
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_error_codes/error_codes/E0412.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The type name used is not in scope.
A used type name is not in scope.

Erroneous code examples:

Expand Down
3 changes: 2 additions & 1 deletion src/librustc_error_codes/error_codes/E0422.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 752b511

Please sign in to comment.