about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-02-23 12:02:32 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-02-23 12:02:32 +0100
commit78e4bd1c758b59593c02e2785e8024dbec6069f4 (patch)
treed2af0535f65b739d246e4fea2e848bd5a953b22c /src
parent01a8b5f26e536a3bcd9449f62fd0b9b68ef3d650 (diff)
downloadrust-78e4bd1c758b59593c02e2785e8024dbec6069f4.tar.gz
rust-78e4bd1c758b59593c02e2785e8024dbec6069f4.zip
Clean up E0367 explanation
Diffstat (limited to 'src')
-rw-r--r--src/librustc_error_codes/error_codes/E0367.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0367.md b/src/librustc_error_codes/error_codes/E0367.md
index 7d661b2f033..cfebeada272 100644
--- a/src/librustc_error_codes/error_codes/E0367.md
+++ b/src/librustc_error_codes/error_codes/E0367.md
@@ -1,8 +1,9 @@
 An attempt was made to implement `Drop` on a specialization of a generic type.
-An example is shown below:
+
+Erroneous code example:
 
 ```compile_fail,E0367
-trait Foo{}
+trait Foo {}
 
 struct MyStruct<T> {
     t: T