Clean up E0367 explanation

This commit is contained in:
Guillaume Gomez 2020-02-23 12:02:32 +01:00
parent 01a8b5f26e
commit 78e4bd1c75

View File

@ -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