about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-08 10:44:23 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-08 10:44:23 +0100
commit2676afeca49cfaeac99a5a558493fd16a0b08675 (patch)
tree01af2d354537ce19b5fe34d339c4775bdb248545 /src
parentf943349eafaa75a60c05b0c84dcdb771d0eae8c9 (diff)
downloadrust-2676afeca49cfaeac99a5a558493fd16a0b08675.tar.gz
rust-2676afeca49cfaeac99a5a558493fd16a0b08675.zip
clean up E0392 explanation
Diffstat (limited to 'src')
-rw-r--r--src/librustc_error_codes/error_codes/E0392.md5
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> {