diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-16 01:30:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-16 01:30:31 +0100 |
| commit | bbdc871c5377e4c78a565d26f232a11516fe38f9 (patch) | |
| tree | d32766478691eb0a82659bda4a9bf23789415993 /src/librustc_error_codes | |
| parent | 957241fcf964ef24105b794308b6acb990824096 (diff) | |
| parent | 138d29d358233d6ffc6c0d0bd0dcc3107e93b591 (diff) | |
| download | rust-bbdc871c5377e4c78a565d26f232a11516fe38f9.tar.gz rust-bbdc871c5377e4c78a565d26f232a11516fe38f9.zip | |
Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC
Cleanup E0412 and E0422 r? @Dylan-DPC
Diffstat (limited to 'src/librustc_error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0412.md | 2 | ||||
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0422.md | 3 |
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 |
