diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-08 20:54:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-08 20:54:36 +0100 |
| commit | c934c94212755eee25e86d9d49fb057073a28b91 (patch) | |
| tree | e9d43ec6f39de515bf629881b438fcd8db31b0af | |
| parent | 40b405f2d45b337e50b90c656680a7c7edc899cb (diff) | |
| parent | 2676afeca49cfaeac99a5a558493fd16a0b08675 (diff) | |
| download | rust-c934c94212755eee25e86d9d49fb057073a28b91.tar.gz rust-c934c94212755eee25e86d9d49fb057073a28b91.zip | |
Rollup merge of #69820 - GuillaumeGomez:cleanup-e0392, r=Dylan-DPC
clean up E0392 explanation r? @Dylan-DPC
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0392.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0392.md b/src/librustc_error_codes/error_codes/E0392.md index 1d93e904e37..f373d89456d 100644 --- a/src/librustc_error_codes/error_codes/E0392.md +++ b/src/librustc_error_codes/error_codes/E0392.md @@ -1,5 +1,6 @@ -This error indicates that a type or lifetime parameter has been declared -but not actually used. Here is an example that demonstrates the error: +A type or lifetime parameter has been declared but is not actually used. + +Erroneous code example: ```compile_fail,E0392 enum Foo<T> { |
