We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01a8b5f commit 78e4bd1Copy full SHA for 78e4bd1
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