Clean up E0367 explanation
This commit is contained in:
parent
01a8b5f26e
commit
78e4bd1c75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue