about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-11 13:06:54 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-14 23:19:22 +0100
commitecb84c975d653afc9da356baf2a7aa21ac476f22 (patch)
treea001966e4abd41e1b6b72cbc5877c3f558aaa10b /src/librustc_error_codes/error_codes
parente5e8ba4edc435c9f87314b23a6c5d9c175bdf19c (diff)
downloadrust-ecb84c975d653afc9da356baf2a7aa21ac476f22.tar.gz
rust-ecb84c975d653afc9da356baf2a7aa21ac476f22.zip
Clean up E0412 and E0422 explanations
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0412.md2
-rw-r--r--src/librustc_error_codes/error_codes/E0422.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0412.md b/src/librustc_error_codes/error_codes/E0412.md
index 60a09610d86..d9ebc852bba 100644
--- a/src/librustc_error_codes/error_codes/E0412.md
+++ b/src/librustc_error_codes/error_codes/E0412.md
@@ -1,4 +1,4 @@
-The type name used is not in scope.
+A used type name is not in scope.
 
 Erroneous code examples:
 
diff --git a/src/librustc_error_codes/error_codes/E0422.md b/src/librustc_error_codes/error_codes/E0422.md
index a91ea6a9e22..828a52e7341 100644
--- a/src/librustc_error_codes/error_codes/E0422.md
+++ b/src/librustc_error_codes/error_codes/E0422.md
@@ -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