We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c293ac9 + 78e4bd1 commit 1cfb6c2Copy full SHA for 1cfb6c2
src/librustc_error_codes/error_codes/E0367.md
@@ -1,8 +1,9 @@
1
An attempt was made to implement `Drop` on a specialization of a generic type.
2
-An example is shown below:
+
3
+Erroneous code example:
4
5
```compile_fail,E0367
-trait Foo{}
6
+trait Foo {}
7
8
struct MyStruct<T> {
9
t: T
0 commit comments